Customers paying for orders that have been manually created in wp-admin are taken to a blank screen. The payment is created, but must be manually authorised and captured by an administrator. If the card used requires SCA authorisation then the payment will fail.
To Reproduce
Steps to reproduce the behavior:
Go to the Orders page in wp-admin
Click on "Add Order"
Create a new order and assign it to an existing customer
Return to the store and login as the existing customer
Navigate to My Account > Orders and click "Pay"
Attempt to pay for the order with Amazon Pay and get redirected to a blank screen
Logged on the server error log:
<ErrorResponse xmlns="http://mws.amazonservices.com/schema/OffAmazonPayments/2013-01-01">
<Error>
<Type>Sender</Type>
<Code>InvalidAddressConsentToken</Code>
<Message>AddressConsentToken is not valid. It might have expired or not belong to the buyer on this contract or be a bad token entirely.</Message>
</Error>
<RequestId>aa8cc832-d64a-4336-bec9-19e9386791d7</RequestId>
</ErrorResponse>
Expected behavior
The user can successfully pay for the order, or in the event of a problem with the payment, is shown an appropriate error message.
Customers paying for orders that have been manually created in wp-admin are taken to a blank screen. The payment is created, but must be manually authorised and captured by an administrator. If the card used requires SCA authorisation then the payment will fail.
To Reproduce Steps to reproduce the behavior:
Go to the Orders page in wp-admin Click on "Add Order" Create a new order and assign it to an existing customer Return to the store and login as the existing customer Navigate to My Account > Orders and click "Pay" Attempt to pay for the order with Amazon Pay and get redirected to a blank screen Logged on the server error log:
Expected behavior The user can successfully pay for the order, or in the event of a problem with the payment, is shown an appropriate error message.