Closed (fixed)
Project:
e-Commerce
Version:
4.7.x-3.0-beta3
Component:
payment
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2007 at 13:02 UTC
Updated:
7 Mar 2007 at 18:02 UTC
I'm trying to work out what drupal needs back from the payment gateway to confirm payment and what format it needs it in.
It's so I can configure an unsupported bureau - Netbanx - and it's proving to be a massive bottleneck as I can't find any documentation.
Once the payment is confirmed I need drupal to run some password generation scripts (depending on the product).
Can anyone point me in the rigth direction (and send me back 36 hours).
thanks
Ian
Comments
Comment #1
gordon commentedTake a look at the paymentapi in either the PayPal module, or CCard, and you should be able to work it out.
As for doing something when a payment is complete checkout the ecommerceapi('payment complete')
Comment #2
cinquetooty commentedI'm less than on-the-ball today after working through just to (try to) work this all out...
drupal shopping cart > netbanx > transaction successful > back to drupal for confirmation
How does drupal know which transaction is fulfilled? What URL can I use to fake an approval and what variables do I have to pass back to Drupal?
Is it something like www.mysite.com/store/payment/approved?txid=23
Sorry to be so dim - I'm at my wits-end!
Ian
Comment #3
cinquetooty commentedOh I think I've cracked it now....
it needs to pass $transStatus, $email, $amount, $cartId back to Drupal to know what needs doing next - at least in the Worldpay module.
It seems to work OK.
Ian
Comment #4
(not verified) commented