Adding Payment Gateway to your web site (Payment Gateway API)
How it works
when a merchant want to enable internet payment gateway (IPG) functionality to their shopping cart they just have to insert the java script enabled object in which ever the place they want to complete the checkout and create a web service to receive the payment token.
one important fact that developers has to keep in mind is that they don´t get credit information via the web post but only a reference, that has to be used within a given time period. say for and example the checkout value is $100.00 and card is 4242 4242 4242 4242 with a specific expiry date then you will get a inference code like xxxx-xxxx-xxxxxxxxxxx-xxxx that will differ from one gateway to another.
then merchant´s web server has to make a request from the IPG server with reference code within a given period of time along with invoice number and other security keys, in-order to complete the payment
Hence :
- security keys that needs to be used with IPG server will not be shared on the web but kept secured at the merchant server
- users credit card information will be securely transferred to IPG server while developers does not have to worry about managing security
- There will never be multiple charges on the credit card even if there are glitches on the network connectivity make the http request multiple times where one token can be used only once and one invoice number can be used only once.
Nerveless, sharing the card information with the different IPG providers every-time a client makes a internet payment cannot be eliminated with this mechanism and every merchant has to go through a rigorous application process to enable internet payment on their web site.
we are going eliminate these issues and provide more control to the card holder in each card payment not only in the internet payment arena, but also at payments at shops and places where merchants cannot afford to provide payment machines.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
Back to Pragmatic Engineering