Closed thekingbk90 closed 6 years ago
hi @thekingbk90
Thanks for raising this issue. We will attempt to come back with an answer very soon.
Have you enrolled for Visa Checkout in the production merchant interface? After the enrollment, you will get a Visa Checkout Api key , which you can use to place the Visa Checkout button or Lightbox on your website. This Visa Checkout button will allow the customers to login to their Visa Checkout account and select their card (without having to enter card details or shipping address).
Whenever a customer successfully logs into their Visa Checkout account, you are able to obtain:
1- Visa Checkout payment request ID (callId) 2- Encrypted payload (refer the integration guide on using these fields.)
encKey and encPaymentData returned here correspond to the dataKey and dataValue field in the opaqueData field of the Authorize.Net API request, while the dataDescriptor is COMMON.VCO.ONLINE.PAYMENT .
Please go through the Authorize.Net Visa Checkout page for step-by-step instructions including how to use Getting Started with Visa Checkout guide to ensure you follow Visa Checkout user interface guidelines, and the Visa Checkout JavaScript Integration guide in order to pass the callID and encrypted payload to Authorize.Net.
Feel free to reach out to us for questions.
Thank you. I have already got the Encrypted payload: https://prnt.sc/j11hrp But where's callID? Does it display when customer use the checkout button?
This is your Visa Checkout API key, which is good.
You need to add the Checkout button now (the code for which will use the key above)
When the customer uses the checkout button
@thekingbk90, closing this thread based on the procedure provided by @ashtru and that should resolve the reported issue. Please feel free to re-open this, if you are still facing the issue.
I tried to make a payment via authorize.net payment (using visa card) It's error E00027: The transaction was unsuccessfully I used production mode. (development mode worked normally). I have already compared to sample code: https://github.com/AuthorizeNet/sample-code-php/blob/643363a7c1edad4e8029c3033902db4b0a6c07c2/VisaCheckout/create-visa-checkout-transaction.php#L37 There are 2 values which I don't know how to get them.