---
title: Take your integration live
url: amazon-pay-checkout/v1-take-your-integration-live.html
---

<!--**[Step 8 of 8]** Go live by updating the Amazon Pay button-rendering code and API endpoints. To ensure a successful launch, review the pre-launch checklist, in section 3 below.-->

**[Step 8 of 8]** Go live by updating the API endpoints. To ensure a successful launch, review the pre-launch checklist, in section 3 below.

* TOC
{:toc}
{::options toc_levels="3" /}

***

### 1. Update the button-rendering code

In the button integration code, remove the `sandbox` parameter: 

<ul id="profileTabs" class="nav nav-tabs">
  <li class="nav-item"><a class="active nav-link noExtIcon" href="#usButtonTab" data-toggle="tab">US</a></li>
  <li class="nav-item"><a class="nav-link noExtIcon" href="#euButtonTab" data-toggle="tab">EU</a></li>
  <li class="nav-item"><a class="nav-link noExtIcon" href="#ukButtonTab" data-toggle="tab">UK</a></li>
  <li class="nav-item"><a class="nav-link noExtIcon" href="#jpButtonTab" data-toggle="tab">JP</a></li>
</ul>
<div class="tab-content">


  <div role="tabpanel" class="tab-pane active" id="usButtonTab">   
<div markdown="block">
```html
<script type="text/javascript" charset="utf-8">
    amazon.Pay.renderButton('#AmazonPayButton', {
        merchantId: 'merchant_id',
        createCheckoutSession: {
            url: 'https://mystore/amazonpay/createcheckoutsession'
        },
        ledgerCurrency: 'USD',
        checkoutLanguage: 'en_US',
        productType: 'PayAndShip',
        placement: 'Cart',
        buttonColor: 'Gold'
    });
</script>
```
</div>
  </div>

  <div role="tabpanel" class="tab-pane" id="euButtonTab">
<div markdown="block">
```html
<script type="text/javascript" charset="utf-8">
    amazon.Pay.renderButton('#AmazonPayButton', {
        merchantId: 'merchant_id',
        createCheckoutSession: {
            url: 'https://mystore/amazonpay/createcheckoutsession'
        },
        ledgerCurrency: 'EUR',
        checkoutLanguage: 'en_GB',
        productType: 'PayAndShip',
        placement: 'Cart',
        buttonColor: 'Gold'
    });
</script>
```
</div>
  </div>

<div role="tabpanel" class="tab-pane" id="ukButtonTab">
<div markdown="block">
```html
<script type="text/javascript" charset="utf-8">
    amazon.Pay.renderButton('#AmazonPayButton', {
        merchantId: 'merchant_id',
        createCheckoutSession: {
            url: 'https://mystore/amazonpay/createcheckoutsession'
        },
        ledgerCurrency: 'GBP',
        checkoutLanguage: 'en_GB',
        productType: 'PayAndShip',
        placement: 'Cart',
        buttonColor: 'Gold'
    });
</script>
```
</div>
  </div>  

  <div role="tabpanel" class="tab-pane" id="jpButtonTab">
<div markdown="block">
```html
<script type="text/javascript" charset="utf-8">
    amazon.Pay.renderButton('#AmazonPayButton', {
        merchantId: 'merchant_id',
        createCheckoutSession: {
            url: 'https://mystore/amazonpay/createcheckoutsession'
        },
        ledgerCurrency: 'JPY',
        checkoutLanguage: 'ja_JP',
        productType: 'PayAndShip',
        placement: 'Cart',
        buttonColor: 'Gold'
    });
</script>
```
</div>
  </div>
</div>


***

### 2. Update API endpoints

Change API endpoints from sandbox to live:

<table width="100%" border="1">
    <tbody>
        <tr id='QSL9CAfhK08'>
            <td id='s:QSL9CAfhK08;QSL9CAME936' style="vertical-align: top; font-weight: bold; width: 10%;" class='bold'>Region
                <br /></td>
            <td id='s:QSL9CAfhK08;QSL9CA4Ukpw' style="vertical-align: top; font-weight: bold; width: 45%;" class='bold'>Sandbox base API endpoint
                <br /></td>
            <td id='s:QSL9CAfhK08;QSL9CA5RJCe' style="vertical-align: top; font-weight: bold; width: 45%;" class='bold'>Production base API endpoint
                <br /></td>
        </tr>
        <tr id='QSL9CAzAWwl'>
            <td id='s:QSL9CAzAWwl;QSL9CAME936' style=''>US
                <br /></td>
            <td id='s:QSL9CAzAWwl;QSL9CA4Ukpw' style=''>https://pay-api.amazon.com/sandbox/:version
                <br /></td>
            <td id='s:QSL9CAzAWwl;QSL9CA5RJCe' style=''>https://pay-api.amazon.com/live/:version
                <br /></td>
        </tr>
        <tr id='QSL9CAUCa34'>
            <td id='s:QSL9CAUCa34;QSL9CAME936' style=''>EU/UK
                <br /></td>
            <td id='s:QSL9CAUCa34;QSL9CA4Ukpw' style=''>https://pay-api.amazon.eu/sandbox/:version
                <br /></td>
            <td id='s:QSL9CAUCa34;QSL9CA5RJCe' style=''>https://pay-api.amazon.eu/live/:version
                <br /></td>
        </tr>
        <tr id='QSL9CA02n74'>
            <td id='s:QSL9CA02n74;QSL9CAME936' style=''>JP
                <br /></td>
            <td id='s:QSL9CA02n74;QSL9CA4Ukpw' style=''>https://pay-api.amazon.jp/sandbox/:version
                <br /></td>
            <td id='s:QSL9CA02n74;QSL9CA5RJCe' style=''>https://pay-api.amazon.jp/live/:version
                <br /></td>
        </tr>
    </tbody>
</table>

***

### 3. Review the pre-launch checklist

Ensure that stakeholders within your business have the proper user access permissions for <a href="http://sellercentral.amazon.com/" target="_blank" rel="noopener noreferrer">Seller Central</a>, and are aware of the launch date. Review the pre-launch checklist below to ensure a successful launch.

#### Account configuration

* Ensure that you have completed Amazon Pay merchant account registration, and you’re ready to process payments in Production.
* Ensure all domains have been added to Seller Central. See [Add domains to Seller Central](../amazon-pay-checkout/v1-get-set-up-for-integration.html#2-add-domains-to-seller-central) for more info.
* Add your logo in the Login with Amazon application to maintain a seamless checkout experience. Note that the logo will be automatically resized to 50 x 150 pixels.
* If you're using IPNs to handle asynchronous processes, add production IPN endpoints. See [using IPNs](../amazon-pay-checkout/v1-set-up-instant-payment-notifications.html) for more info.

#### Optimize the buyer experience

* Ensure that the Amazon Pay button appears above the fold on cart and checkout pages.
* Reduce checkout friction by placing the Amazon Pay button at the start of checkout, before buyers are asked to manually enter their details.
* Verify that the Amazon Pay checkout experience is optimized for both desktop and mobile experiences.
* Check that [buyer communication](../amazon-pay-checkout/v1-buyer-communication.html) provides accurate information.

#### Common integration issues

* Some Amazon Pay transactions are processed asynchronously. This means that Amazon Pay will return a pending response and the object will be in an Pending state until processing is complete. If applicable, make sure that you’re handling [asynchronous processing](../amazon-pay-checkout/v1-asynchronous-processing.html).
* Amazon Pay returns a string string for buyer name. Make sure you’re parsing the buyer name correctly. Note that some buyers may only provide a single name, e.g. “Jane”.








