This article will cover how to resolve the 400 Bad Request error you may be receiving when trying to make a purchase on the Payfast checkout page.
Please look at the following areas of Payfast for Easy Digital Downloads:
- Your merchant details may be incorrectly entered, such as an extra space, character or typo in the credentials. Please ensure all details are entered for either your live account or sandbox account.
- Using incorrect merchant details (i.e. Live account details in sandbox mode). For sandbox details please visit https://sandbox.payfast.co.za
- Passphrase is missing from your merchant details. This is required for all API payments – https://support.payfast.co.za/portal/en/kb/articles/how-do-i-enable-a-passphrase-on-my-payfast-account
Please reach out to payfast.io support if the above steps have not helped resolve any issues.