FREE Sign Up! Start accepting online payment in 2mins.Sign Now

PayFas Integration

The integration of the payment methods in your website is possible in different ways.

Do you have one of the following shopping carts .

You can implement PayFas by downloading the plugin which belongs to your shopping cart. Click on the logo of your shopping cart to download it above.

PayFas Integration does not require a seller to have any web programming knowledge to get started — a simple understanding of HTML and web page creation is sufficient to make use of the Standard Integration button. All the items,donation and subscription buttons created with this method are stored in your PayFas account; you can view the code or edit the item/donation/subscription directly from your own account.

Standard Button Creation

To create a Standard Integration button, use the Button Creation Tool in your PayFas account. This tool will generate the HTML code for your button which you can place on your web page.

If you would like to create a Standard Integration button, please follow these instructions

  1. Login to your PayFas account.
  2. Click on "Merchant Menu".
  3. Under "Merchant Menu", click on either "Products", "Donations" or "Subscriptions".
  4. Click on "Add New Product ","Add New Donation " or "Add New Subscription ".
  5. Enter all required information.
  6. Click on "Finish".
  7. Copy and paste the generated code into your website.

All products/donations/subscriptions created using the Button Creation Tool will be automatically stored in your PayFas account.

 

 

Managing Items or Subscriptions

Each button created with the Button Creation Tool will have a unique ID and will be associated with an item or a subscription that is stored in your account. Since all the details for a product is stored in your PayFas account, whenever you make any changes to its payment details, the changes made will automatically be reflected in the buttons that you previously put on a website. You do not have to upload the HTML code to your website again.

 

Editing an item will not change its product ID; therefore, PayFas will always use the correct information for the proper item when the buyer reaches our checkout page.

If you would like to modify, delete or view the HTML code for one of your stored items, please follow these instructions

  1. Login to your PayFas account.
  2. Click on "Merchant Menu".
  3. Under "Merchant Menu", click on either "Products", "Donations" or "Subscriptions".
  4. Click on "Edit", "Delete" or "Get Code " for the respective product.

 

 

Standard Button Security & IPN

Since the payment details for a product is stored in your PayFas account, your payment button has less risk of being compromised or tampered with by a malicious third-party — unless they have direct access to your PayFas account. The HTML code for your button is therefore "safe" since the only value that is exposed is the product ID which must match exactly what is stored on your account. Invalid product ID will simply result in an error message being displayed on our checkout page.

PayFas will always send an email notification and an Instant Payment Notification (IPN) for payments made to you through your buttons. To learn more about using our Instant Payment Notification, please refer to our IPN Guide.



PayFas Payment API for [Product/Service , Donation and Subscription]

 

CODE #1 - POST method: [PRODUCT/SERVICE]

CODE #2 - POST method: [DONATION]

CODE #3 - POST method: [SUBSCRIPTION]

 

Description for all fields which you can use:

 

Additional information:

Sample PHP Code

You can also download all the code samples for PayFas:

Sample code in PHP

Banks Accepted on PayFas