Supported external payment methods and their prerequisites and configuration requirements.
Avarda offers a full Vipps eCom API integration as part of the standard checkout setup for the Norwegian market. If the merchant would like Vipps to be displayed as a payment option in their checkout, the following steps are necessary.
NOTE: Financial reports will be provided by Vipps
Avarda will display Paypal as a payment option in the checkout, when used the end customer is redirected back to partner page were the purchase is completed using the partner’s own integration towards PayPal.
New payment method is displayed, if PayPal method is enabled in Partner Onboarding. When PayPal payment method is completed page is redirected to redirectUrl
which has to be provided to us by partner in Checkout 3.0 Initialize payment.
Configuration in simple steps:
handleByMerchantCallback
in Checkout 3.0 initializationredirectUrl
in Checkout 3.0 initialization<script>
var handleByMerchantCallback = function(avardaCheckoutInstance) {
console.log("Handle external payment here");
...
// Unmount Checkout from page when external payment is handled
avardaCheckoutInstance.unmount();
}
window.avardaCheckoutInit({
...
"handleByMerchantCallback": handleByMerchantCallback,
"redirectUrl": "www.mytesteshop.com/"
...
});
</script>
PayPal payment panel should be displayed, if PayPal is enabled in Partner Onboarding.
After user select one of these external payment methods, the callback defined during initialization will be run.