Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi

 

I have the payflow link payment module installed and working great, but my client doesn't want to charge the customers card until the product is shipped.

 

So I have changed the payflow link type to A (Authorize) instead of S (Sale), which just authorizes the purchase value against the card. I collect the PNREF coming back from verisign to the database wich is also the TRANSID.

 

Once the item is shipped I need to send the delayed capture form to Verisign like:

 

<form name="Your Form Name" method="POST" action="https://payflowlink.verisign.com/payflowlink.cfm">

<input type="hidden" name="PARTNER" value="Your Partner ID">

<input type="hidden" name="LOGIN" value="Your Login ID">

<input type="hidden" name="TYPE" value="D">

<input type="hidden" name="TRANSID" value="verisign_ref">

<input type="hidden" name="AMOUNT" value="order_value">

<input type="hidden" name="METHOD" value="CC">

<input type="submit" value="Submit">

 

I need to edit admin/orders.php so that when order status is updated to "shipped" this form is automatically sent to verisign.

 

How do I submit a form automatically?

 

Thanks

 

Del

  • 3 weeks later...
Posted

If anyone is interested - I got this working.

 

When a customer places an order their card is just authorized using 'A' instead of 'S' for Sale.

 

The in admin/orders.php I added a javascript so that when an order status changes to "Shipped" the javascript runs a seperate form which reconnects to verisign and performs a Delayed Capture against the verisign PNREF for the final value of the order.

 

Del

  • 1 month later...
Posted

Some credit card companies actually send you feedback when an order is processed, so that you know if the order has been authorized, or its pending, declined, etc.

 

Is it posible for the status of the order to be automatically changed accordingly to the status sent by the credit card company?

 

Also, how can I automatically change the status of an order that is "In Process" to "Processed" when the credit card company autorize the card?

 

Thank you!

  • 1 year later...
Posted
If anyone is interested - I got this working.

When a customer places an order their card is just authorized using 'A' instead of 'S' for Sale.

The in admin/orders.php I added a javascript so that when an order status changes to "Shipped" the javascript runs a seperate form which reconnects to verisign and performs a Delayed Capture against the verisign PNREF for the final value of the order.

Del

 

 

Hello delishus,

 

I am interested in your work. In fact, I am having problems with setting the transaction type for authorization. Even though my payflow link setting in OSC is set to "A", transactions going to Verisign indicates "Sale". Any thoughts?

 

Thanks,

James

  • 2 weeks later...
Posted
Hello delishus,

 

I am interested in your work.  In fact, I am having problems with setting the transaction type for authorization.  Even though my payflow link setting in OSC is set to "A", transactions going to Verisign indicates "Sale".  Any thoughts?

 

Thanks,

James

Hi,

This sounds like a very useful idea. Could you please let us know exactly what you did, and which javascript did you use. Thanks

  • 1 year later...
Posted

I am a newbe just trying to walk my way through the oscommerce payment module..

 

Please guide me guys...

 

Man this is some thing that needs to be posted in the contribution section...

 

would really appreciate a proper working script...

 

I am glad that you guys got something like this working..

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...