Deployment
Deployment
Once your Click to Pay 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.
Request to Enable Click to Pay for Live Transactions: Currently, enabling Click to Pay for live transactions requires contacting our support team. Please reach out to our support to enable Click to Pay for your terminal. This step is crucial to allow live transactions to be processed through Click to Pay.
Update the Click to Pay Script Sources: Replace the sandbox script sources with the production script sources in your HTML files. Update the script tags as follows:
<!-- From this (Sandbox) -->
<script src='https://test-pay.dnapayments.com/checkout/payment-api.js'></script>
<script src='https://test-pay.dnapayments.com/components/click-to-pay/click-to-pay-component.js'></script>
<!-- To this (Production) -->
<script src='https://pay.dnapayments.com/checkout/payment-api.js'></script>
<script src='https://pay.dnapayments.com/components/click-to-pay/click-to-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 Click to Pay on your website, allowing you to start accepting payments from your customers seamlessly.