Question about Visa Checkout

Jesse
Newbie

Question about Visa Checkout

Hi Visa experts,

 

I found there're  multiple 'eventtype' provided in 'updatePaymentInfo' API, but I don't quite understand what's the meaning of these event types (Create, Confirm, Confirm_COF, Cancel, Fraud, etc.).

 

For example, if I use 'Create' as the event type and the payload should be as below:
"orderInfo": {
"currencyCode": "USD",
"discount": 1.11,
"eventType": "Create",
"giftWrap": 20,
"misc": 333.00,
"orderId": 1234556666,
"promoCode": "c3444ffttt",
"reason": "Because order got created",
"shippingHandling": 51.99,
"subtotal": 800,
"tax": 71,
"total": 1000.11
}

 

What does this code actually did? Create what? Why I need to create something before I make a purchase?

 

Besides, what's the difference between 'Comfirm' & 'Comfirm_COF'? I already knew that COF means 'card-on-file', how can I use these in my payment flow?

 

Much appreciate if anybody could give me some advices. 

 

Regards,

Jesse

2 REPLIES 2
Sanobar
Frequent Helper

Re: Question about Visa Checkout

Hello Jesse,

 

An expert team is looking at your query and I will get back to you. 

 

Thank
Sanobar

 

Kais
Regular Visitor

Re: Question about Visa Checkout

Hello Jesse, so the payment info update is the event being sent back to Visa Checkout by the merchant after the payment is done by the payment gateway. the event types reflects the payment status. failed or successful ....

 

Please have a look at the intergation guide in the getting started documents for more details

 

Cheers,

Kais