- [Instructor] This video
is made for businesses
who want to help fix
technical-related errors
that their customers may see
when they try to check out
using Amazon Pay, and sign
into their Amazon account.
If there's an integration
error that you can fix,
you will see either this screen
for a redirect URI error.
Or this screen for a URL issue.
There are two possible
reasons why an error message
might appear on the
Amazon Pay sign-in page.
The first reason is that
your pop-up selector
has been set to yes, but
the URL has not been added.
This means that sign-in
won't work for your customer.
The second reason is that
your website provider,
also called ecommerce provider,
did not add your website
name, also called domain,
in Seller Central,
as is required by Amazon
Pay in our documentation
for technical integration.
Whether you have one domain
or multiple domains, all
of them must be added.
Let's look at the potential
reason for the first error
message, the domain name
issue. We'll reproduce
the issue, so that we can
walk through it together.
Go to your site, put
a product in checkout,
and then click the Amazon Pay button.
If there's an integration
error that you can fix,
you will see this screen.
The Integration Error Summary explains
why the error occurred and how to fix it.
In this case, the summary
says that the redirect URI
that you provided has not
been whitelisted for your
application, so you need to
add it to your redirect URL.
Find the value that starts
with "redirect underscore
uri equals", Copy the
entire https portion.
Keep this window open to
show the error message,
and then log into Seller Central.
Select the Amazon Pay
Production View dropdown option
next to your business name.
Hover over Integration, and
select Integration Central.
Then, click View Client and Store IDs,
and find the Client ID Store ID section.
Next, select the accurate
application, so that the Client ID
shown in Integration Central
matches with the Client ID
shown in the error message
under Error Summary.
The client ID in the error
message that you need to match
begins with "client underscore ID equals"
and then there's a long
string of characters
that ends with a long string of numbers.
Note: If you have more than
one application, make sure
you've selected the correct
one by comparing the last
four digits of the Client_ID
in the error summary
with the Client_ID shown
on the application.
Back in Seller Central,
click the Edit link.
Paste the redirect URL
into the empty text box
across Allowed Return URLs.
Then, click the Save changes
button to save your update.
Test the Amazon login on your
site to make sure the update
was successful. Click the
Amazon Pay button again,
the issue has been fixed if
you see this Sign-in screen.
Now let's go back and look
at the potential reason
for the second type of error
message, the URL issue.
If the summary states that the
domain on which you are using
the JavaScript SDK has not
been whitelisted for your
application, you need to
add your website domain
to the Allowed JavaScript Origins section.
In Seller Central, select
the application from the App
or store name drop down menu.
If you have more than one
application, be sure you've
selected the correct one
by comparing the Client
ID in the error summary
with the Client ID of the application.
Click the Edit link.
Next, click the Add
Another link to add a new
Allowed JavaScript Origins entry.
Enter your entire website
domain into the empty text box
and click the Save changes
button to save your update.
Your issue should now be
fixed. Please test this
on your site to be sure
the update was successful.
For more information on
how to create a Client ID
or Store ID, please watch our video
called "Creating a Client ID
or Store ID in Seller Central".
To summarize the steps we've taken:
Test your integration by
checking out using Amazon Pay.
When presented by an error
message on the sign-in page,
check the Integration Error Summary
on why the error occurred
and how to fix it.
Copy the redirect URL or the website URL
from the error message
and keep the window open.
Log in to Seller Central and go
to Integration Central
under the Integration tab.
Match the Client ID from your application
to the Client ID in the error message.
Copy and paste the missing information
from the error message
into Seller Central,
following the directions
for the error you received.
Finally, try to sign-in
again using Amazon Pay
to confirm that the
issue has been resolved.
And that wraps up this
video, be sure to check
our Amazon Pay University
channel for other helpful videos.
