I'm trying to create a module that will add a step between Checkout and Review Order that connects to our internal server so that the credit card information is only handled on that server and not our web host. Then when that part is over (verify the card and such) they are returned to the Review Order page to finish the order on our site.

I am having trouble finding any tutorials and looking at code (UC Paypal) isn't leading to a full understanding of what is happening. Hard to tell what is necessary for the Paypal module and what is necessary for all similar modules.

Are there any resources/tutorials to go through setting something like this up?

Comments

longwave’s picture

Status: Active » Fixed

The usual way to do this is add a step after "Review order" that redirects off to your payment server, which then handles the payment and redirects back to a completion page when done. uc_2checkout is probably the simplest example of implementing something like this, although PayPal WPS is very similar.

merzikain’s picture

Okay, I guess I was thinking it should be after the Checkout page because usually the form is on that page. Guess it doesn't matter as long as they enter their payment somewhere before the order is completed.

I have it working but I was frustrated that there is an apparent lack of tutorials for things like that.

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.