Payfast: Error 400: Bad Request "merchant_key: The merchant key must be 13 characters"
You are seeing this error because the merchant key that you configured is not the correct one. You need to use the one that you will find in your Payfast account: https://support.payfast.co.za/portal/en/kb/articles/where-is-my-merchant-id-and-key