how to make a payment gateway module?
how to make a payment gateway module?
how to make a payment gateway module
how to make a payment gateway module
You will need to understand some key components
- The Request
- The Response
Hi guys I will tell you here how to make a prestashop module for free...But in this post I will explain to you the important parts that you will need to understand before you write code to integrate your payment gateway to your website.
So please follow the below steps ...It does not really matter which software you use when thinking about the logic behind all payment gateways working...
Some key things you will need to know about payment gateways.
Payment Gateways are generally used to accept payments from people or make payments on websites.It makes transactions easier.
But when developing a payment gateway you will need to know a lot more than just than this!
First of all you will need to know the basics of sending data in the form of variables from one page to another page.
In the working of a payment gateway you will need to send the important variables.To the payment gateway website.
Before starting to create such code .I highly recommend that you will need to register on any payment gateway website and at-least get testing code.
You will need to send the main variables that will have data stored about the customer making the payment the payment amount the address of the customer and other such similar details to the payment gateway.
You can call your payment gateway or contact to find our about the most important details that will be needed.
Then your focus must be on trying to send the details to the payment gateway...If you are not really sure about the details that need to be sent to the payment gateway ( if you dont know if the details are really working)you can try printing the variables on the next page as a test.
If the variables are getting sent ! this is awesome
Next you will need to focus on how the response code works
But this is really very simple
before this you will need to know the url where you will get the response
Then you will need to manipulate this code accordingly.
You will need to read the payment gateway carefully.
you can easily make a if else statement in your code to say that to run some code depending for true and false.
you must make sure if the response is true .Your website should save the values about the transaction true for instance.( payment accepted.Otherwise just the opposite.Ok so please like and share this post to your friends who will need help .Thanks
.png)


0 comments: