thelia / paypal-module
PayPal module for Thelia ecommerce solution
Installs: 1 978
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 9
Forks: 28
Type:thelia-module
Requires
- cqfdev/paypal-rest-api-sdk-php: 1.*
- symfony/http-client: ^7.0
- thelia/installer: ~1.1
- wazaari/monolog-mysql: 1.0.5
README
- I) Install notes
- II) Configure your PayPal account
- III) Module options payments
I) Installation
Composer
WARNING : A console access is required to update dependencies. If you don't have a console access, please get the latest 2.x version of the module here : https://github.com/thelia-modules/Paypal/tree/2.x
To install the module with Composer, open a console, navigate to the Thelia diorectory and type the following command to add the dependency to Thelia composer.json file.
composer require thelia/paypal-module:~4.0.0
II) Configure your PayPal account
- Log In on [developer.paypal.com] (https://developer.paypal.com "developer.paypal.com")
- Create REST API apps [here] (https://developer.paypal.com/developer/applications/ "here")
- Click on Create App
- Fill the fields : App Name & Sandbox developer account
- Click on Create App
- Note the Client ID to use it later in the module configuration
- Note the Client SECRET to use it later in the module configuration
In SANDBOX WEBHOOKS
- To fill this part, go to your module configuration page to see the urls to implement
In SANDBOX APP SETTINGS
- To fill this part, go to your module configuration page to see the urls to implement
III) Module options payments
Classic PayPal payment
- This method will redirect to the PayPal platform to proceed payment
InContext Classic PayPal payment
- This method will allow the customer to pay from a PayPal inContext popup directly from your website (no redirection to the PayPal plateform)
Credit card
- This method allow the customer to pay directly by a credit card without a PayPal account. 'The merchant must have a Pro PayPal account UK and the website must be in HTTPS'
Recursive payment
- This method use the 'PayPal AGRREMENTS' and allow you to use recursive payments on your website. If you want to log all PayPal actions, you need to configure the PayPal webhooks and to have a wabsite in HTTPS
Express checkout
- This method allow the customer to proceed the payment directly from the cart from a PayPal inContext popup.