On this page, you can find additional configuration for adding Fawry to your Components integration.
Before you begin
This page assumes you have already:
API reference
Select which endpoint you're integrating:
This is the default with Components v5.0.0 or later.
Parameter name | Required | Description |
---|---|---|
shopperName | ![]() |
The shopper's full name. |
shopperEmail | ![]() |
The shopper's email address. |
telephoneNumber | ![]() |
The shopper's telephone number. |
Component configuration
Step 1: Create a DOM element
Create a DOM element on your checkout page, placing it where you want the payment method form to be rendered:
<div id="fawry-container"></div>
Step 2: Create an instance of the Component
Use the create
method of your AdyenCheckout
instance, in this case checkout
, to create the Component:
const fawryComponent = checkout.create('fawry').mount('#fawry-container');
Test and go live
Before you can accept live Fawry payments, you need to submit a request for Fawry in your live Customer Area.