relief_applications / payment-handler-bundle
Helper to handle the successful payment request coming from the Relief Applications payment server
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.0
- symfony/framework-bundle: >=3.4
This package is auto-updated.
Last update: 2024-10-11 03:23:55 UTC
README
This package is here to help you for the payments on Relief Applications' applications.
Installation
To install this package, just run :
composer req relief_applications/payment-handler-bundle
This will install the package into your vendors.
Usage
To use this package, create a method in a controller that will handle the request from the payment server. Then simply call the method :
$payload = SuccessfulPaymentHandler::getPayload($request);
This will verify that the data are coming from the payment server and will decrypt it so you can use the payload that was passed by the front of the application as an array.