How do I create a Custom Integration request?

How do I create a Custom Integration request?

Developer Docs

Our custom integration developer documentation can be found here: https://developers.payfast.co.za/docs#quickstart
 
To make things easy for you, you can make use of the example request below.
Simply replace the values of the fields with your own merchant account and transaction information.

Custom Integration Example Request

<form action="  https://www.payfast.co.za/eng/process" method="post">
<input type="hidden" name="merchant_id" value="12345678">
<input type="hidden" name="merchant_key" value="xxxxxxxxxx">
<input type="hidden" name="return_url" value="https://www.testreturn.com">
<input type="hidden" name="cancel_url" value="https://www.testreturn.com">
<input type="hidden" name="notify_url" value="https://https://www.testreturn.com/payfastWebhookReceiver">
<input type="hidden" name="name_first" value="Lionel">
<input type="hidden" name="name_last" value="Guy">
<input type="hidden" name="email_address" value="testteam4@test.com">
<input type="hidden" name="amount" value="10.00">
<input type="hidden" name="item_name" value="Subscription">
<input type="hidden" name="item_description" value="Subscription2">
<input type="hidden" name="subscription_type" value="2">
<input type="hidden" name="signature" value="f17bf5a27606ca3a2ba2747e0c92dad3">
<input type="submit">
</form>
 
*Please note that the signature will change based on your values.