diepchiaser / fincode
Fincode gateway for Omnipay
dev-main
2024-05-28 06:49 UTC
Requires
- guzzlehttp/guzzle: ^7.0
- omnipay/common: ^3.0
- php-http/guzzle7-adapter: ^1.0
- ramsey/uuid: ^4.7
Requires (Dev)
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2025-05-28 09:43:04 UTC
README
Overview
- Customers send payment information:
- Customers access the merchant's website or application and proceed with the payment process.
- Customers enter payment-related information such as products/services, payment amount, etc.
- Affiliate partners generate payment URLs via Fincode's API:
- Merchant uses Fincode's API to generate a payment URL.
- Fincode returns a payment URL to the merchant.
- Merchant sends payment URL to customer:
- Merchant forwards the payment URL from Fincode to the customer.
- Customers click the URL to redirect to Fincode's payment page.
- Merchant sends payment URL to customer:
- On Fincode's payment page, customers enter their credit or debit card information (card number, expiration date, CVV, etc.).
- Merchant sends payment URL to customer:
- Fincode sends an authorization request to the card company to check the card's validity and ability to pay.
- The card company checks the card's information and payment ability.
- Merchant sends payment URL to customer:
- The card company returns the result of the authorization process (success or failure) to Fincode.
- Merchant sends payment URL to customer:
- Fincode sends notification of authorization results (success or failure) to the merchant.
- Merchant receives notification and takes next steps based on the results.
- Merchant sends payment URL to customer:
- Merchant displays payment result notification to customers on its website or application.
- If payment is successful, the customer receives payment confirmation and can continue with the purchased service/product.
- If payment fails, the customer will receive an error message and can try again or use another payment method.
TEST
- vendor/bin/phpunit tests/Feature/FincodeTest.php
THANK YOU
- Thank you for reading this document. If you have any questions, please contact us. And contribute to the development of this project.
CONTACT
- Email: diepchiaser@gmail.com