Any way to get an order_id in payment before_process
mathiasp <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.devel |
|---|---|
| Message-ID | <66c8b43b6de26c5c43a7cdc4b45ccf63@osCommerce-Forums> |
This message was sent from: Development http://forums.oscommerce.com/viewtopic.php?p=170406#170406 ---------------------------------------------------------------- It need to give the order-id to my payment provider. I'm right now solving this by: - changing the call to before_process to after inserting the order in checkout_process.php (so I have the order_id in $insert_id - deleting the order in my payment module, if the payment is not granted That's working just fine, but I need to modify checkout_process.php, which I do not like. Any other way to do this?? Thanks, Mathias