Deployment
Deployment
Once your Alipay integration has been thoroughly tested in the sandbox environment, it's time to move to the production environment.
Steps to Deploy
Login to the Production Merchant Portal: To begin processing real payments, log in to the production merchant portal at portal.dnapayments.com. Ensure you are using the correct credentials for the production environment.
Enable Alipay for Live Transactions: Within the production portal, ensure that Alipay is fully enabled under your payment methods settings. This step is crucial to allow live transactions to be processed through Alipay.
Update the Alipay Script Source: Replace the sandbox script source with the production script source in your HTML files. Update the script tag as follows:
<!-- From this (Sandbox) -->
<script src='https://test-pay.dnapayments.com/components/alipay-wechat-pay/alipay-wechat-pay-component.js'></script>
<!-- To this (Production) -->
<script src='https://pay.dnapayments.com/components/alipay-wechat-pay/alipay-wechat-pay-component.js'></script>Final Testing in Production: Perform a final round of testing in the production environment to ensure everything is functioning as expected. This includes conducting a small live transaction to confirm that the integration is correctly processing payments.
Important Considerations
Monitoring Transactions: After deployment, closely monitor the first few transactions to ensure they are processed correctly. This helps in identifying any issues early and allows for immediate troubleshooting to avoid disruptions.
Support and Troubleshooting: If any issues arise during the deployment phase, contact our support team for assistance. We are here to help ensure a smooth transition from testing to live operations.
By carefully following these steps, you can ensure a successful deployment of Alipay on your website, allowing you to start accepting payments from your customers seamlessly.