Download the PHP package bocapro/boca-payments without Composer
On this page you can find all versions of the php package bocapro/boca-payments. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bocapro/boca-payments
More information about bocapro/boca-payments
Files in bocapro/boca-payments
Package boca-payments
Short Description Payment helper for Stripe, PayPal, Plaid, MercadoPago, Authorize.Net, JustiFi and Global Payments
License MIT
Informations about the package boca-payments
Boca Payments
A unified payment gateway package for Laravel. One package, one interface, seven gateways.
Stripe, PayPal, Plaid, MercadoPago, Authorize.Net, JustiFi, and Global Payments.
Supported Gateways
Installation
Publish Config
Setup
Add your credentials to .env. You only need to fill in the gateways you use.
How to Use
1. Pay
This uses the default gateway from your config. To use a different gateway:
Pay Response:
Handle the response in your controller:
2. Verify
After the user is redirected back or you receive a webhook, verify the payment:
3. Refund
Switch Gateway Dynamically
Pass a gateway string from user input, a database column, or a form select:
Full Controller Example
Test Cards and Sandbox Credentials
Testing
Formatting
License
MIT
All versions of boca-payments with dependencies
ext-curl Version *
ext-json Version *
authorizenet/authorizenet Version ^2.0
globalpayments/php-sdk Version ^14.0
illuminate/support Version ^11.0|^12.0|^13.0
mercadopago/dx-php Version ^3.0
paypal/paypal-server-sdk Version ^2.0
saloonphp/saloon Version ^4.0
smpita/typeas Version ^4.2
stripe/stripe-php Version ^16.0
tomorrow-ideas/plaid-sdk-php Version *