When you get "pending" as a charge status or if there was an exception when calling any of the /charge endpoints, wait 10 seconds or more, then make a check to see if its status has changed. Don't call too early as you may get a lot more pending than you should.
1 | check_pending_charge(authorization, reference)
|
authorization |
set_keys("", "SECRET_KEY")$secret, equivalent of "-H Authorization: Bearer SECRET_kEY" |
reference |
string. REQUIRED The reference to check |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.