Client Redirect Updated on 06-01-2015

Workflow of Credit card client redirect.

1 - Client forwarded to your site


When a client finalizes his credit card authorization he will be redirected to "visa-fwd".
You can configure this URL on easypay's backoffice under "URL Configurations"

Example URL

http://www.yoursite.com/your/visa_forward.php?e=10611&r=999907994&v=15.25&k=CCCA9DB585706CB435164C2D6A06C3D27AB1ABA&s=ok&t_key=3

Parameters

e ENTITY of the transaction the client is paying.
Example value: 10611
r REFERENCE of the transaction the client is paying.
Example value: 999907994
v Value that the client is paying.
Example value: 15.25
k Authorization key.
Example value: CCCA9DB585706CB435164C2D6A06C3D27AB1ABA
s Status of authorization.
Available values: ok ( authorized ) or err ( not authorized )
t_key Your order identification.
Example value: 3

2 - Save the authorization key


Now if "s" is ok you have to store the authorization key with your order record in order to request payment in the future.

If "s" is err you should show a message like:
"Your transaction was not authorized by your credit card issuer. Please try again with another card or use one of the following payment methods.".