CubeCart PayPal IPN Hack for multiple stores
September 14th, 2007Heres a nice little hack to alter the IPN information sent by CubeCart to Paypal if you run multiple stores.
Courtesy of 3:16 Designs.
Edit modules/gateways/paypal/transfer.inc.php
Locate,
<input name="invoice" value="".$cart_order_id."" type="hidden" />
Then add the following afterwards,
<input name="notify_url" value="".$GLOBALS[" type="hidden" /> <input name="return" value="".$GLOBALS[" type="hidden" /> <input name="cancel_return" value="".$GLOBALS[" /confirmed.php?act="conf&f=1&oid=".base64_encode($cart_order_id)."'" type="hidden" />
| Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo |
Was this post useful to you? Let me know, buy me a beer!
Alternatively, if you're feeling impecunious, you may like to subscribe to my RSS feed, or see other articles in the CubeCart, PHP category.