This system integrates the classic PayPal buy button, the alternative or localy payment method and the new payment system: credit/debit cards that doesn't go through the PayPal account.
It is a Stripe-style payment, it connects directly with the bank and integrates 3D security validation.
The module performs two types of calls, the first client-side for creating the order ID, the second call is server-side for 3D security validation and then the payment.
Payment via the Paypal button always remains client-side call.
The module is a BETA. Currently the setting provides only the connection with Sandbox, to go live you need to change the API URLs for the access_token and client_token request
1. Copy the module in the folder site/modules and install it
2. Create a template in the root site/templates, and create the respective page from the backend. So that you have a URL that can receive the API call.
In this page you can copy the contents of the page capture.php
present in the module.
3. The module must be configured by adding the required parameters.
For the correct functioning of the payment system you need a Sandbox Business Pro account. This can be created from the page https://developer.paypal.com/developer/accounts
https://developer.paypal.com/https://developer.paypal.com/docs/archive/checkout/integrate/
https://developer.paypal.com/docs/api/payments/v1
https://developer.paypal.com/docs/business/checkout/advanced-card-payments/ (Follow Advanced Card payment integration)
Enable your account - https://developer.paypal.com/docs/business/checkout/advanced-card-payments/#1-enable-your-account
Generate token - https://developer.paypal.com/docs/business/checkout/advanced-card-payments/#2-generate-client-token
Capture order - https://developer.paypal.com/docs/business/checkout/advanced-card-payments/#4-capture-order
Sandbox: https://developer.paypal.com/docs/api-basics/sandbox/accounts/
Card test https://developer.paypal.com/docs/business/checkout/3d-secure/3d-secure-test/ 3D secure info - https://developer.paypal.com/docs/business/checkout/3d-secure/3d-secure-response-parameters/