WORDPRESS PAYMENT GATEWAY -- 2
Budget: $30 – $250 USD
need plugin for payment gateway api
Admin:
1. Provide option for admin to configure the payment gateway
a. Admin can update the client ID, Account ID, Client secret, title, instructions
b, Admin can enable/disable the payment method
Frontend:
1. Integrate the payment gateway in frontend in additional with other payment methond
2. Pass below parameters to the payment gateway API
a. Authorization - clientId, clientSecret
b. Create Payment
monetaryValue.amount: the amount of the payment
monetaryValue.currency: the currency of the payment; currently only IQD is supported
Response of the create payment would be as follows
paymentId: A unique identifier of the payment, used later to check the status.
qrCode: A base64-encoded data URL of the QR code image that the user can scan with the FIB mobile app.
readableCode: A payment code that the user can enter manually in case he cannot scan the QR code.
personalAppLink: A link that the user can tap on his mobile phone to go to the corresponding payment screen in the FIB Personal app.
C. Check Payment Status
Request: paymentId: Should be passed in the url path.
Response: status: Expected values are PAID | UNPAID | DECLINED
3. Capture the payment method in the order details and reflect the order details in woocommerce backend
4. Create it as installable payment plugin that works with Woocommerce
Admin:
1. Provide option for admin to configure the payment gateway
a. Admin can update the client ID, Account ID, Client secret, title, instructions
b, Admin can enable/disable the payment method
Frontend:
1. Integrate the payment gateway in frontend in additional with other payment methond
2. Pass below parameters to the payment gateway API
a. Authorization - clientId, clientSecret
b. Create Payment
monetaryValue.amount: the amount of the payment
monetaryValue.currency: the currency of the payment; currently only IQD is supported
Response of the create payment would be as follows
paymentId: A unique identifier of the payment, used later to check the status.
qrCode: A base64-encoded data URL of the QR code image that the user can scan with the FIB mobile app.
readableCode: A payment code that the user can enter manually in case he cannot scan the QR code.
personalAppLink: A link that the user can tap on his mobile phone to go to the corresponding payment screen in the FIB Personal app.
C. Check Payment Status
Request: paymentId: Should be passed in the url path.
Response: status: Expected values are PAID | UNPAID | DECLINED
3. Capture the payment method in the order details and reflect the order details in woocommerce backend
4. Create it as installable payment plugin that works with Woocommerce