Deployment
Deployment
Once your Apple 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.
Enable Apple Pay for Live Transactions: Within the production portal, ensure that Apple Pay is fully enabled under your payment methods settings.
Update the Apple Pay 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/apple-pay/apple-pay-component.js'></script>
<!-- To this (Production) -->
<script src='https://pay.dnapayments.com/components/apple-pay/apple-pay-component.js'></script>Verify Production Domains: If you haven't already, verify the domains where the Apple Pay button will be used in the production environment. Each domain must be verified separately within the production portal.
Final Testing in Production: Perform a final round of testing in the production environment to ensure everything is functioning as expected. This includes testing a small live transaction to confirm the integration.
Important Considerations
Monitoring Transactions: After deployment, closely monitor the first few transactions to ensure they are processed correctly. Address any issues immediately 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.
Domain Verification Process: The domain verification process involves uploading an Apple-provided verification file to your website’s server. This process is crucial to ensure that Apple Pay is securely enabled on your site.
By carefully following these steps, you can ensure a successful deployment of Apple Pay on your website, allowing you to start accepting payments from your customers seamlessly.