Explanation:
There are several reasons as to why an error may occur on your Shopify store’s checkout page when Afterpay as the payment method is attempted.
Please refer to the Action section to further understand and resolve the challenge.
Action:
Please review and follow the various reasons and solutions below:
- Order Not Processed
- Cause: After a customer attempts to pay with Afterpay, the order may fail to complete, and the customer may see a message indicating that the payment couldn't be processed. The order may show as "Pending" or "Unpaid" in the Shopify admin.
- Solution: Ensure your Afterpay account is active and functioning. Simply retrying the payment or having the customer attempt it again can resolve temporary issues. Also, please keep in mind that Afterpay may not be supported in all regions.
- Cause: After a customer attempts to pay with Afterpay, the order may fail to complete, and the customer may see a message indicating that the payment couldn't be processed. The order may show as "Pending" or "Unpaid" in the Shopify admin.
- Error Messages in the Checkout
- Cause: Customers trying to use Afterpay might encounter a message during checkout like:
- "Payment could not be processed. Please try again later."
- "There was an error with Afterpay. Please select another payment method."
- Solution: Advise the customer to clear their browser cache and cookies and retry. Sometimes, stale data can cause issues during checkout. In your Shopify admin, ensure Afterpay is enabled under your payment settings. If there was a temporary issue, toggling the payment method off and on can sometimes help reset the integration.
- Cause: Customers trying to use Afterpay might encounter a message during checkout like:
- Payment Gateway Configuration Errors
- Cause: If there is an issue with your Afterpay integration, you might see error messages such as:
- "Payment gateway could not be connected."
- "Afterpay service is temporarily unavailable. Please try again later."
- Solution: Double-check that your Afterpay credentials are correctly entered in the Shopify Payments settings (under Settings > Payments). If the keys are outdated or incorrect, Afterpay will not process payments.Sometimes, after an update or change in the system, you may need to remove and then re-add the Afterpay payment method in Shopify’s payment settings to re-establish the connection.
- Cause: If there is an issue with your Afterpay integration, you might see error messages such as:
- Afterpay-specific Error Codes
- Cause: Technical issues may result in specific error codes displayed in the Shopify admin or in API logs, such as:
- "503 Service Unavailable"
- "400 Bad Request"
- "401 Unauthorized"
- Solution: Please see the below explanations:
- 503 Service Unavailable: This usually means our servers are temporarily down. Wait for a short period and try again.
- 400 Bad Request: This indicates that there’s an issue with the data being sent to our API. Verify the information you’re sending through Shopify’s integration and ensure it meets our format and validation rules.
- 401 Unauthorized: This error indicates a problem with your Afterpay credentials. Recheck your Merchant ID and Secret Key in your Shopify payment settings and ensure they are up to date and correct.
- Cause: Technical issues may result in specific error codes displayed in the Shopify admin or in API logs, such as:
Important Notes:
Afterpay is available for Shopify merchants with a store address in select countries. Please see here for more details.