[SOLVED] Need help with database transactions (checkout module)
jayhen
Joined: 2007-02-12
Posts: 159 |
Posted: Fri, 2007-03-16 15:55 | |||||
Hi,
|
||||||
jayhen
Joined: 2007-02-12
Posts: 159 |
Posted: Fri, 2007-03-16 15:55 | |||||
Hi,
|
||||||
Posts: 32509
it only inserts a row into the entity table:
INSERT INTO g2_Entity (g_id, g_creationTimestamp, g_isLinkable, g_modificationTimestamp, g_serialNumber, g_entityType) VALUES (71571,1174059582,0,1174059582,1,'GalleryCheckoutPaypalIPN')
the only odd thing i see is:
$ppTransaction ->save();
there shouldn't be a space before the ->
also, it depends on your Entities.inc / Maps.inc files. they describe an entity / map and that's what GalleryStorage uses to determine what db tables need to be used.
--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 159
Ah, that explains it, there's no Entities.inc file!
Thanks!
Posts: 159
Deleted this comment, since I've realised that the server I'm using doesn't seem to have a good installation of gmake, which was stopping me from generating the Entities.inc file. Have since built a new virtual server and all is OK. Carrying on the tests tomorrow to see if it allows me to save PayPal transactions to the database.