Integrate the FasterPay Pay Button
The Pay Button is the simplest way to integrate FasterPay as a payment option, as coding is not required.
To integrate the Pay Button you will need your API keys which you can find in your the Integration tab of your FasterPay Business account. If you don’t have a FasterPay Business account yet, you can sign up for one.
How to integrate the FasterPay Pay Button
You can integrate the FasterPay Pay Button by following the 5 steps below.
Step 1: Generate your button
Step 2: Get your button code
<script src="https://pay.fasterpay.com/pay.js" amount="99.99" currency="USD" description="Your Product Name" merchant="c0689776edf0cb603d906f94ec4690f6" success_url="" size="lg"> </script>
Learn more about parameters in our API Reference.
Step 3: Paste the code into your website HTML
Copy and paste the generated code into wherever you like the Pay Button to be using your HTML editor. We recommend for all of FasterPay Business account holders to preview the Pay Button before going live. The size and position are easily adjustable, but if you are looking for a custom button you can speak with your development team or conduct an integration using the Checkout Page.
Pay Button integration does not require hash parameter to be sent in the API request.
In case the FasterPay Payment page responds with Wrong Hash please email email@example.com to disable Hash param.
Step 4: Integrate Delivery Confirmation API
For every product purchased by an end-user, merchants that don’t instantly deliver the products are required to implement FasterPay Delivery Confirmation API and communicate the delivery status of the product / service.
This information is important for our customer service teams in order to investigate disputes raised by end-users in a better way.
Requirements for E-commerce businesses
As a general rule, card schemes (e.g. Visa, MasterCard) do not allow capturing a transaction until goods have been shipped or services rendered.
When a user makes a purchase on your E-commerce store, FasterPay only authorizes the transaction. You are expected to ship the goods within 7 days of handling time. If an order is not shipped within 7 days - the transaction is automatically voided and the funds are returned to the user.
A proof of shipping should be communicated to FasterPay automatically via Delivery Confirmation API with status=delivering along with tracking ID, tracking link and carrier name. Upon receiving the confirmation, FasterPay captures the payment and the funds move to your Pending Balance.
Instructions can be found in the APIs section here: Delivery Confirmation API
If you are using FasterPay’s plugins in your E-Commerce stores, please refer to respective plugin documentation on configuring Delivery Confirmation.
Step 5: Test
Once implementation is complete, go ahead and test the Pay Button using the Test Credit Card numbers available in the FasterPay Business Test Mode.
Step 6: Go Live
If you’re happy after testing the Pay Button out all you need to do is complete your Business Profile and Go Live!
Step 7: Publish your updated HTML
Once you’re all set - publish the changes and let the payments roll in!
Common questions are covered in the FAQ.
For integration and API questions, feel free to reach out Integration Team via firstname.lastname@example.org.
For business support, email us at email@example.com.
To contact sales, email firstname.lastname@example.org.
To suggest a change to this documentation you can submit a pull request on GitHub.