Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Credit Card Payment Module


dstu

Recommended Posts

Hello all,

 

I am looking for a solution to the following scenario I have:

 

My clients need to place an order and pay by credit card, but I do not want to store (or even request) the credit card information from the client on my site.

 

My credit card processor allows me to send several fields (Merchant ID, Amount, Currency, Order ID, Hashed Signature and Response URL) by HTTPS POST and they return a HTTPS POST back to me (to the Response URL I sent them) with the result of the Authorization Request number and some other relevant fields. It would be nice to be able to display the Authorization code received in the checkout_confirmation page.

 

I tried to use the iPayment module and tweak it to do what I need, but I don't see the outgoing POST (initially I sent it to a page on my site that echos the received fields) and I just arrive to the checkout_confirmation page (as a client) without going to/seeing "external" page.

 

Has anyone built a module to handle such (or a similar) scenario?

 

I could really use some help.

 

Thanks,

 

David

Link to comment
Share on other sites

Hi David,

 

I know that Realex in Dublin (http://www.realex.ie) have code that does this as I use their payment module on my site. Basically the code redirects my customers to Realex's secure server, the customer enters their CC details and the response is sent back to my OSC pages. If the card is rejected then the customer is told to try again, otherwise the transaction is confirmed and a message displays saying the payment was authorised. Afraid I can't send you the code myself as I had to sign bits of paper saying I won't disclose info about my set up to anyone, but it might be worth emailing them if you get desperate.

 

HTH

 

Chris

Link to comment
Share on other sites

Hi David,

 

I know that Realex in Dublin (http://www.realex.ie) have code that does this as I use their payment module on my site. Basically the code redirects my customers to Realex's secure server, the customer enters their CC details and the response is sent back to my OSC pages. If the card is rejected then the customer is told to try again, otherwise the transaction is confirmed and a message displays saying the payment was authorised. Afraid I can't send you the code myself as I had to sign bits of paper saying I won't disclose info about my set up to anyone, but it might be worth emailing them if you get desperate.

 

HTH

 

Chris

 

 

Hi Chris.

 

Thank you for your response.

 

I managed to adjust the WorldPay contribution to generate the exact POST that I need to send to my CC processor.

 

All I need now is to make the page that accepts the response.

 

If you have a way of leaving only one inbound field and the rest of the "frame" that works with osC and post it (empty of all reference to them), I'd highly appreciate it.

 

I'm continuing to work on it, but the inbound page seems more complicated to me (I'm not a php programer).

 

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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