Accept Payment

This section describes how to accept payment from buyers.A payment is performed by doing an HTML form post of POST to the URL: https://payfric.com/webpay/ The following input fields are required:

Accept payment

POST https://payfric.com/webpay

Payfric user can pay you in any currency of there choice and the exchange rate will be calculated automatically and the charge added to the amount to be paid to you. A payment is performed by sending a post request

Query Parameters

Name
Type
Description

NOPAYMENT_URL

string

A url to your site where Payfric will redirect to when the payment is cancel

PAYMENT_URL

string

A url to your site where Payfric will redirect to when payment is successful

SECRETE KEY

string

Your Payfric secrete key

PAYMENT_ID

string

A 10 lenght unique string. Not more than 10

PAYMENT_AMOUNT

number

The amount you wanted to charge the buyer

PAYMENT_WALLET

string

Your Payfric email address

?reference //The payment code
?amount //The amount payed 

Last updated

Was this helpful?