---
title: Differences between environments
url: amazon-pay-checkout/differences-between-environments.html
---

* TOC
{:toc}

***


### Business rules 

To help facilitate testing in Sandbox, the following business rules have been adjusted:

<table width="100%" border="1">
    <tbody>
        <tr id='QGL9CASicW0'>
            <td id='s:QGL9CASicW0;QGL9CA9UObe' style='text-align: left;vertical-align: top;'><b>Object</b>
                <br /></td>
            <td id='s:QGL9CASicW0;QGL9CAMneJc' style='text-align: left;vertical-align: top;'><b>Live business rule</b>
                <br /></td>
            <td id='s:QGL9CASicW0;QGL9CA9GA9M' style='text-align: left;vertical-align: top;'><b>Sandbox business rule</b>
                <br /></td>
        </tr>
        <tr id='QGL9CAUnmtx'>
            <td id='s:QGL9CAUnmtx;QGL9CA9UObe' style='text-align: left;vertical-align: top;'>A Charge object in the Authorized state
                <br /></td>
            <td id='s:QGL9CAUnmtx;QGL9CAMneJc' style='text-align: left;vertical-align: top;'>Moves to a Canceled state in 30 days
                <br /></td>
            <td id='s:QGL9CAUnmtx;QGL9CA9GA9M' style='text-align: left;vertical-align: top;'>Moves to a Canceled state in two days
                <br /></td>
        </tr>
        <!--<tr id='QGL9CA7cTcB'>
            <td id='s:QGL9CA7cTcB;QGL9CA9UObe' style='text-align: left;vertical-align: top;'>Max Auth amount
                <br /></td>
            <td id='s:QGL9CA7cTcB;QGL9CAMneJc' style='text-align: left;vertical-align: top;'>
                <br /></td>
            <td id='s:QGL9CA7cTcB;QGL9CA9GA9M' style='text-align: left;vertical-align: top;'>
                <br /></td>
        </tr>-->
    </tbody>
</table>

### Buyer experience

You cannot trigger the buyer experience for handling declined payments or multifactor authentication (MFA) in Sandbox. If you choose a <a href="../amazon-pay-checkout/sandbox-simulations.md#using-simulated-payment-methods" target="_blank" rel="noopener noreferrer">Sandbox payment instrument</a> to simulate a payment decline, Amazon Pay will redirect you to `checkoutResultReturnUrl` with Checkout Session in Canceled state instead of showing the hosted decline handling page.


### Integration 

* You can develop on your localhost in Sandbox but not in the Live environment. This means that you can set `checkoutReviewReturnUrl` and `checkutResultReturnUrl` on Checkout Session <a href="../amazon-pay-api-v2/checkout-session.md#type-webcheckoutdetail" target="_blank" rel="noopener noreferrer">webCheckoutDetails</a> to localhost URLs.  
* Amazon Pay only validates the following <a href="../amazon-pay-api-v2/checkout-session.md#type-deliverySpecifications" target="_blank" rel="noopener noreferrer">`deliverySpecifications`</a> child parameters in Sandbox: <a href="../amazon-pay-api-v2/checkout-session.md#type-specialRestrictions" target="_blank" rel="noopener noreferrer">`specialRestrictions`</a>, <a href="../amazon-pay-api-v2/checkout-session.md#type-type" target="_blank" rel="noopener noreferrer">`type`</a>, <a href="../amazon-pay-api-v2/checkout-session.md#type-webcheckoutdetail" target="_blank" rel="noopener noreferrer">`countryCode`</a>. This means that buyers can complete Live transactions even if there's an error in your integration. Please test your address restriction implementation in Sandbox before deploying to Live and always verify that the address the buyer selects from their Amazon address book is supported by your business requirements.
* You can’t trigger chargebacks in Sandbox. You must test your processes for handling chargebacks in the Live environment.
