Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Webservice and Redirections


Recommended Posts

I am creating a payment module for my store connecting to a Brazilian payment gateway. The requirements are as follow:


a. customer chooses card type to pay and submits choice: Visa or Mastercard

b. store passes the customer choice in XML to payment gateway URL

c. payment gateway responds to XML request

d. store redirects to payment gateway for customer to input credit card info

e. payment gateway redirects to online store

f. store sends request to payment gateway for transaction status

g. payment gateway responds with payment status


I have been successful in doing (a) - (d). I am not sure how to proceed with (e) - (g).


Basic questions are:


a. How does the payment gateway redirect back to my store?

b. How do I accomplish this? Do I need to use "die"?


Looking forward to your guidance.

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.

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