How does a token work?

How does a token work?

A token is used for recurring billing to identify which user to charge for an adhoc payment. Only after the first payment for an ad hoc payment, will PayFast send back return variables in a payment notification webhook.

The ‘token’ in this return variable list is what will be used in the URL of the cURL script to charge the customer.

    • Related Articles

    • Why do I get a signature mismatch on a tokenization payment?

      If you are testing in sandbox mode, you will need to go to sandbox.payfast.co.za and create your own sandbox account and set a passphrase on there. When using live mode, you will need to ensure that Recurring Billing is enabled on your Payfast ...
    • Where can I view my token for testing a subscription in the sandbox?

      You will not be able to view it in the sandbox. You must make use of the ITN callback in order to retrieve the token among the return variables after a successful payment.
    • Modifying the 'Pending' status setting in VirtueMart doesn’t work as expected.

      Modifying the order statuses within VirtueMart is not recommended and requires expert knowledge of how VirtueMart works. Modifying the Pending status setting in the PayFast module is not going to change the status an order gets when it is first ...
    • How does the Xero integration work?

      Our integration with Xero is all automatic. It will update Xero when a successful payment is received by PayFast via a Xero invoice (or if a payout from PayFast is made). However, it will not automatically sync or update payments made from other ...
    • How does reconciliation work between PayFast and Xero?

      You are required to have two bank accounts in Xero for reconciliation to be successful, that is a current account and a clearing account. Because PayFast charges a small fee for every successful transaction that your customers make, the net amount ...