• Resolved rf1mats

    (@rf1mats)


    Hi,
    Can we get the link our customers get redirected to once they click place order on WooCommerce using php? That is not the thank you page, but the login page, or processing page. So the link they get redirected to to initiate payment right after they place order and before they pay.

    We need to use that to open the link in new tab, the structure of our website require our checkout to load in an iframe, and amazon pay doesnt work inside an iframe. So we want to retrieve the link once place order is clicked and open it in a new tab.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Christian

    (@christian1983)

    Hey @rf1mats

    Hope you are doing well!

    Below the URLs the customer returning to the merchant’s shop after visiting Amazon Pay hosted pages.

    1. After logging in and selecting payment method/shipping address => {merchants_checkout_url}/?amazon_payments_advanced=true&amazon_login=1
    2. After completing the payment in Amazon Pay side => {merchants_checkout_url}/?amazon_payments_advanced=true&amazon_return=1

    In both of the above cases, these are the URLs the plugin defines to Amazon. Amazon adds one more parameter to both of those URLs amazonCheckoutSessionId which is required for the plugin’s functionality.

    Hope that helps.

    Best,
    Christian

Viewing 1 replies (of 1 total)
  • The topic ‘Amazon Pay Redirect Link’ is closed to new replies.