Hosting a payment page locally?

Events happening in the community are now at Drupal community events on www.drupal.org.
elly's picture

Hi! I'm working on a site that I'm using Drupal Ecommerce module for, and what they'd like to do is host a payment page on the local site, with an SSL cert, rather than sending users offsite to pay at a third party processor's site. Of course we'll need to use a third party processor for credit card processing, but I'm hoping to set up a page where all that happens on the backend and the user never goes offsite.

Can anyone explain to me if this is possible with Drupal Ecommerce module? If so, can I get some tips as to how to implement this? Are there code examples or a module for this? Do I need to write my own module and use the ecommerce API?

I'm sure this has been asked before, but searching the docs and this group has yielded nothing! If someone can help, or point me to docs addressing this question or a previous thread that would be great too.

Thanks!

Comments

This is only possible if

jax's picture

This is only possible if your third party supplies the API's to do this. I would actually be surprised if payment providers would allow that. Why would a payment provider take the risk of someone having to input his credit card number into your site after which you send it to the payment provider? It's a security risk.

Maybe there are iframe or javascript (eg. greybox) solutions but I haven't tried that.

This is entirely possible

davea's picture

With certain payment gateways, the user never leaves the site. The processing happens behind the scenes.

It is my preference and I advise my clients to use this same methodology on their own sites for ecommerce as I think that it provides a more professional ecommerce system.

I maintain the TrustCommerce module. I am not very familiar with the other payment gateways that are available for ecommerce. You could download my module and inspect the code to see what happens. You will also need API information from your payment gateway provider as well.

Enjoy!
Dave

Yay

elly's picture

Thanks for the advice - I will check out your module!

have you tried this?

philk's picture

HI Elly,

I was browsing the utility modules earlier..spotted the secure pages module...and thought of your post on here.

A small process which will redirect the the required pages to a SSL version of the page. So you make sure the user is running on a secure page when they are creating/editing content, viewing user details, or administering the site.

http://drupal.org/project/securepages

worth a try?

davea's picture

Yes, my module also requires that module as well.

Thanks!
Dave

e-Commerce Module

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: