Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

My website is currently setup to charge orders instantaneously. I saw that there is a variable

MODULE_PAYMENT_PAYPAL_WPP_TRXTYPE in the configuration table which is set to 'Sale'.

 

Now, I would like to authorize the order and charge later on. To do this I believe, I will have to set

MODULE_PAYMENT_PAYPAL_WPP_TRXTYPE='Authorize'. This should approve the amount for the order. The response will have the transaction_id or Authorization_id.

Question is do I save this Authorization_id in the orders table so that we can use this Authorization_id in the DoCaptureRequestType transaction.

If you can send me code sample for DoCapture, DoVoid and DoReAuthorize will be appreciated.

Thanks for your help.

 

Rohit

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...