Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
hcl
hcl
Hello,
 
We are having issue in Integrating mastercard gateway with VIART : Kindly read below ticket carefully
 
1) We are able to integrate Mastercard gateway with AXIS, but having just 1 issue
 
2) The issue while integrating Mastercard gateway is in passing of ( order_total ) parameter source.
 
3) Mastercard gateway does not understands DECIMAL VALUES .... and Viart automatically converts ( order_total ) values to DECIMAL VALUE before passing.
 
Example : if the (order_total) value is 200 , VIART will make it 200.00 and this value will be not accepted by Mastercard gateway.
 
 
4) Kindly let me know how can be pass the AMOUNT without DECIMAL VALUES ( only in INTEGAR terms ) ?? So it can be accepted by Mastercard gateway
 
 
Example : If i send amount using order_total variable i get this error : vpc_Amount+value+B5000.00+is+invalid
 
 
IMPORTANT : Master Card manual says : vpc_amount should have The amount of the transaction in the smallest currency unit expressed as an integer. For example, if the transaction amount is $49.95 then the amount in cents is 4995
 
hcl
hcl
I got it solved, if some one needs in future :
 
They have a special variable for this order_total_100 instead of default one order_total.
 
Ibn Saeed
Ibn Saeed
Thanks