---
title: Take your integration live
url: amazon-pay-paymentmethodonfile-signinandsetup/take-your-integration-live.html
---

**[Step 8 of 8]** In this step, you will update your integration to use production values and review a pre-launch checklist. At the end of this step, you will be able to process live transactions. 

<script>
  function keySpecifics(){
    const keyQuery = "?environmentSpecificKeys=";
    const currentSetting = window.location.search?.split("?environmentSpecificKeys=")[1] ?? 'false';
    const newSetting = currentSetting === 'false' ? 'true' : 'false';
    window.location = window.location.origin + window.location.pathname + keyQuery + newSetting // +  window.location.hash (not included as it feels weird to jump down)
  }
</script>
<div style="display:none" class="environmentSpecificKeys">
  <div markdown="span" class="alert alert-info" role="alert"><i class="fa fa-info-circle"></i> <b>Note:</b> If your publicKeyId <b>_does not_</b> have an environment prefix (does not begin with 'SANDBOX' or 'LIVE') follow <a href='#' onclick='keySpecifics()' rel='noopener noreferrer'>these instructions</a> instead.</div>
</div>
<div style="display:none" class="notEnvironmentSpecificKeys">
  <div markdown="span" class="alert alert-info" role="alert"><i class="fa fa-info-circle"></i> <b>Note:</b> If your publicKeyId has an environment prefix (for example: SANDBOX-AFVX7ULWSGBZ5535PCUQOY7B) follow <a href='#' onclick='keySpecifics()' rel='noopener noreferrer'>these instructions</a> instead.</div>
</div>


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

***

<div style="display:none" class="environmentSpecificKeys">
<h3>1. Update publicKeyId</h3>

In the button integration code, replace <code>publicKeyId</code> with your Live API public Key ID. Repeat the <a href="../amazon-pay-paymentmethodonfile-signinandsetup/get-set-up-for-integration.md#5-get-your-public-key-id" target="_blank" rel="noopener noreferrer">get your public key ID</a> instructions to generate the Live public Key ID. Be sure to select the "Production" option from the "Marketplace switcher" drop-down in step 2.
<br><br>

<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', {
        // set checkout environment
        merchantId: 'merchant_id',
        publicKeyId: 'LIVE-xxxxxxxxxx',
        ledgerCurrency: 'USD',            
        // customize the buyer experience
        checkoutLanguage: 'en_US',
        productType: 'SignInAndSetup',
        placement: 'Cart',
        buttonColor: 'Gold',
        // configure Create Checkout Session request
        createCheckoutSessionConfig: {                     
            payloadJSON: 'payload',
            signature: 'xxxx',
            algorithm: 'AMZN-PAY-RSASSA-PSS-V2'
        }   
    });
</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', {
        // set checkout environment
        merchantId: 'merchant_id',
        publicKeyId: 'LIVE-xxxxxxxxxx',
        ledgerCurrency: 'EUR',            
        // customize the buyer experience
        checkoutLanguage: 'en_GB',
        productType: 'SignInAndSetup',
        placement: 'Cart',
        buttonColor: 'Gold',
        // configure Create Checkout Session request
        createCheckoutSessionConfig: {                     
            payloadJSON: 'payload',
            signature: 'xxxx',
            algorithm: 'AMZN-PAY-RSASSA-PSS-V2'
        }   
    });
</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', {
        // set checkout environment
        merchantId: 'merchant_id',
        publicKeyId: 'LIVE-xxxxxxxxxx',
        ledgerCurrency: 'GBP',            
        // customize the buyer experience
        checkoutLanguage: 'en_GB',
        productType: 'SignInAndSetup',
        placement: 'Cart',
        buttonColor: 'Gold',
        // configure Create Checkout Session request
        createCheckoutSessionConfig: {                     
            payloadJSON: 'payload',
            signature: 'xxxx',
            algorithm: 'AMZN-PAY-RSASSA-PSS-V2'
        }   
    });
</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', {
        // set checkout environment
        merchantId: 'merchant_id',
        publicKeyId: 'LIVE-xxxxxxxxxx',
        ledgerCurrency: 'JPY',            
        // customize the buyer experience
        checkoutLanguage: 'ja_JP',
        productType: 'SignInAndSetup',
        placement: 'Cart',
        buttonColor: 'Gold',
        // configure Create Checkout Session request
        createCheckoutSessionConfig: {                     
            payloadJSON: 'payload',
            signature: 'xxxx',
            algorithm: 'AMZN-PAY-RSASSA-PSS-V2'
        }   
    });
</script>
```
</div>
  </div>
</div>

<h3>2. Review the pre-launch checklist</h3>

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.

<h4>Complete account setup</h4>

<ul>
    <li>Ensure that you have completed <a href="../amazon-pay-paymentmethodonfile-signinandsetup/get-set-up-for-integration.md#1-register-for-amazon-pay" target="_blank" rel="noopener noreferrer">Amazon Pay merchant account registration</a>, and you’re ready to process payments in Production.</li>
    <li>Ensure all domains have been added to Seller Central. See <a href="../amazon-pay-paymentmethodonfile-signinandsetup/get-set-up-for-integration.md#2-add-domains-to-seller-central" target="_blank" rel="noopener noreferrer">Add domains to Seller Central</a> for more info.</li>
    <li>Add your logo to the Amazon Pay store configuration to maintain a seamless checkout experience. Note that the logo will be automatically resized to 50 x 150 pixels.</li>
    <li>If you're using IPNs to handle asynchronous processes, add production IPN endpoints. See <a href="../amazon-pay-paymentmethodonfile/set-up-instant-payment-notifications.md" target="_blank" rel="noopener noreferrer">using IPNs</a> for more info.</li>
    <li>Upgrade to a live account if you’re using a developer account: <a href="https://pay.amazon.com/signup" target="_blank" rel="noopener noreferrer">US</a>, <a href="https://pay.amazon.eu/signup" target="_blank" rel="noopener noreferrer">EU</a>, <a href="https://pay.amazon.co.uk/signup" target="_blank" rel="noopener noreferrer">UK</a>, <a href="https://pay.amazon.co.jp/signup" target="_blank" rel="noopener noreferrer">JP</a>.</li>
</ul>


<h4>Optimize the buyer experience</h4>

<ul>
    <li>Ensure that the Amazon Pay button appears above the fold.</li>
    <li>Reduce friction by placing the Amazon Pay button before buyers are asked to manually enter their details.</li>
    <li>Verify that the Amazon Pay experience is optimized for both desktop and mobile experiences.</li>
    <li>Check that <a href="../amazon-pay-checkout/buyer-communication.md" target="_blank" rel="noopener noreferrer">buyer communication</a> provides accurate information.</li>
</ul>

<h4>Common integration issues</h4>

<ul>
    <li>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 <a href="../amazon-pay-checkout/asynchronous-processing.md" target="_blank" rel="noopener noreferrer">asynchronous processing</a>.</li>
    <li>Amazon Pay returns a 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”.</li>
</ul>
</div>