- How to investigate the reason that caused this error?
- Reason #1: Reviving this error during initiating the payment
- Reason #2: Sending more than 20 requests within 1 minute
"code" => 5, "message" => "Too many requests, try again later.",
This means and as mentioned before, it's most probably that you are using the "Query Transaction" endpoint, to check on the payment status right after the payment process comes to end. For that, you can Supply your initial create payment request with the "callback" parameter which is a one-time IPN, that will send you a fully detailed payment response once the payment process comes to end whether is authorized or not. In this case, you will receive ever this error. To read more about the "callback" response, kindly check the "Callback" section under our "What are the Five (5) ways of receiving transaction response?" solution article
Follow Up Transactions to chunk your requests into 20 requests per each and execute them in sequence via your queue, You can set your queue or your corn job with this.