Skip to content

The Wallet widget should use the Address Book's order reference Id #30

@limal

Description

@limal

Your JavaScript code example at https://amzn.github.io/amazon-pay-sdk-samples/set.html is incorrect. It doesn't pass the order reference id from the Address Book widget to the Wallet widget which could result in PaymentPlanNotSet error later in the payment processing.

The Wallet widget should be initialised with the following property:

new OffAmazonPayments.Widgets.Wallet({
...
// Assign the same Order Reference ID you created in the address widget to the wallet widget as well. 
amazonOrderReferenceId: orderReferenceID,
...
}).bind("walletWidgetDiv");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions