question

newuser-fb610a23-6122-409b-8624-31d2d92c6b4c avatar image

AmazonPay issue with data-ap-return-url invalide return URL

I am using "Amazon Pay - Express" method in Ionic coedova application, But after payment with amazon-pay I am unable to come back on application payment success page.

For that I have used 'cordova-plugin-deeplinks' plugin but the "data-ap-return-url" attribute in amazonpay button as you can see below just support return url like "https://domain.com". Below is the button code.



<div data-ap-widget-type="expressPaymentButton"
data-ap-signature="*************"
data-ap-seller-id="********"
data-ap-access-key="************"
data-ap-lwa-client-id="***************"
data-ap-return-url="mytestapp://SuccessPageUrl"
data-ap-cancel-return-url="mytestapp://ErrorPage/"
data-ap-currency-code="USD"
data-ap-amount="100"
data-ap-note="Note"
data-ap-shipping-address-required="false"
data-ap-payment-action="AuthorizeAndCapture">
</div>


Please tell me how can we set return url in ionic cordova + Angularjs application.

echopaymentsamazon pay
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers