vanilo / paypal
PayPal Payment Gateway Support for Vanilo (Laravel)
Installs: 1 552
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 2
Open Issues: 2
pkg:composer/vanilo/paypal
Requires
- php: ^8.2
- ext-dom: *
- ext-json: *
- ext-openssl: *
- ext-simplexml: *
- konekt/concord: ^1.13
- laravel/framework: ^10.0|^11.0
- paypal/paypal-checkout-sdk: ^1.0.2
- vanilo/contracts: ^4.0
- vanilo/payment: ^4.0
Requires (Dev)
- ext-sqlite3: *
- orchestra/testbench: ^8.0|^9.0
- phpunit/phpunit: ^10.0
README
Caution
This is the development version (v3.x) of this module.
It is a heavy work in progress and not meant to be used
for any application in its current phase. Use version 2.1 (branch 2.x)
for your application until v3.0 gets released
This library enables PayPal for Vanilo Payments.
Being a Concord Module it is intended to be used by Laravel Applications.
Documentation
Refer to the markdown files in the docs folder.
To-do
- Distinguish order and payment webhooks (resource.id differs!)
- Thrown custom exceptions on PayPal 4XX errors
- Test a situation when the amount is higher than the test accounts available credit
- Handle the case when neither webhooks are set up, nor front return happens:
- timeout?
- captured already?
- Log webhook/return facts in payment history
- Log auth before capture
- Add payer and shipping data to the paypal order
- Handle partial payments (via payments/captures)
- Auto-register webhooks
- Handle refunds (via Payments API)