Articles on: Payment methods

Connecting PayFast as a payment method

PayFast is an online payment processing service for South African merchants of all sizes. PayFast allows merchants (individuals, businesses, and charities) to accept secure payments from online buyers by offering a variety of payment methods, including credit cards, Instant EFT, Masterpass, mobicred, SCode, RCS store cards, MoreTyme, and debit cards. Without the need of a merchant account, a PayFast account can be activated within 24 hours and incurs no monthly or setup fees.

Important: Payment methods are available on websites with paid and Trial subscriptions.

Connecting PayFast to your online store



Sign up for a new account or log in to an existing one.

After you complete the registration process and get your business account, log in there.
Your credentials, which you need to specify in your Weblium account, can be found at the bottom left corner of the main account page: the Merchant ID, Merchant Key, and Passphrase (Security signature):


Go to the Your Store section, then to the Payment methods subsection in your site settings on Weblium, and click on the Add button next to PayFast:


Paste your Merchant ID ①, Merchant Key ②, and Passphrase ③ (Security signature) into the appropriate fields:


To the Success redirect URL ④ and Failure redirect URL ⑤ fields, you can add links to your custom success and failure pages you had created.

Important: You should paste the links that start from https://.
Tip: To know how to add pages, check this guide. You can also learn how to customize a "Thank you" page in this article.

After all the fields are filled in correctly, save the changes:


Tip: You can find out more about setting up the integration in technical documentation from PayFast. In addition, feel free to contact their support team for additional assistance if needed by support@payfast.help.

Publish your site for the changes to take effect.

Note: The currency in your PayFast account must match the one in your store settings on Weblium. In addition, PayFast only works with ZAR and does not provide a currency conversion service.

Deactivating the payment method

If necessary, you can hide the payment system without deleting it.
For that, return to the Payment methods section, and in the Connected payment methods subsection, turn the switch off:


Connecting PayFast to work in test mode



You can connect PayFast in test mode to check the payment method's operation without using your bank card.

Log in to your test account via this link.

Tip: More information about the test mode can be found in the documentation from PayFast.

Your test credentials can be found on your main account page:


Go back to Weblium, activate the Test mode, and specify your test credentials instead of your live ones: test Merchant ID ①, test Merchant Key ②, and test Salt Passphrase ③ (Security signature):


Save changes and publish your website.

After setting up the test mode correctly, you will see a payment page similar to this after you click on the Order button in the shopping cart:

Updated on: 08/23/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!