vanilo / paypal
PayPal Payment Gateway Support for Vanilo (Laravel)
2.0.0
2024-04-29 10:52 UTC
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
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)