|
| 1 | +=================================== |
| 2 | +How to collect payments with Paypal |
| 3 | +=================================== |
| 4 | + |
| 5 | +Paypal is the easiest payment method to configure. It is also the only one without any subscription |
| 6 | +free. |
| 7 | + |
| 8 | +Setup your Paypal account |
| 9 | +========================= |
| 10 | + |
| 11 | +1. Create a business account at Paypal.com (see: |
| 12 | +https://www.paypal.com/in/cgi-bin/webscr?cmd=xpt/Marketing/general/how-to-set-up-a-paypal-account-outside) |
| 13 | +or upgrade your account to Business account (merchant) if you have a basic account. |
| 14 | + |
| 15 | +2. Log in to your account at Paypal.com and go to |
| 16 | +:menuselection:`My Account --> Profile --> My Selling Tools`. There click *PayPal button language |
| 17 | +encoding* under *More Selling Tools* section. Then, click *More Options* and replace the two default |
| 18 | +encoding formats by *UTF-8*. |
| 19 | + |
| 20 | +3. Open Paypal setup form in Odoo and enter your *Email ID*. |
| 21 | + |
| 22 | +4. The Paypal Merchant ID is not mandatory (extra verification level). It is provided in |
| 23 | +Paypal under :menuselection:`My Account --> Overview`. |
| 24 | + |
| 25 | +5. Configure the IPN feedback (Paypal contacting your Odoo instance without needing the |
| 26 | +redirection). The setting can be found in |
| 27 | +:menuselection:`Profile --> My Selling Tools --> Instant payment notification`. |
| 28 | +Activate it and set it to <odoo_instance_url>/payment/paypal/ipn. |
| 29 | + |
| 30 | +6. To test the workflow, you can create sandbox accounts by logging in at |
| 31 | +https://developer.paypal.com/webapps/developer/applications/myapps with the same Paypal credentials. |
| 32 | +Two default sandbox accounts are automatically generated when you register to Paypal: |
| 33 | +one is a buyer, the other is a shopper. |
| 34 | + |
| 35 | +7. Log in with your buyer sandbox account to https://www.sandbox.paypal.com (same password than real |
| 36 | +account) and apply the same format change. |
| 37 | + |
| 38 | +.. tip:: |
| 39 | + To automatically redirect your customers when the payment is completed, go to your Website |
| 40 | + Preferences and turn *Auto Return* on. Set *Return URL* to <odoo_instance_url>/shop/confirmation. |
| 41 | + Verify that your *Notify URL* uses the correct protocol (HTTP/HTTPS). |
| 42 | + |
| 43 | +.. tip:: |
| 44 | + If you want your customers to pay without creating a Paypal account, *Paypal Account |
| 45 | + Optional* needs to be turned on. |
| 46 | + |
| 47 | +Transaction fees |
| 48 | +================ |
| 49 | + |
| 50 | +You can charge an extra to the customer to cover the transaction fees Paypal charges you. |
| 51 | +Once redirected to Paypal, your customer sees an extra applied to the order amount. |
| 52 | + |
| 53 | +To activate this, go to the *Configuration* tab and check *Add Extra Fees*. Default |
| 54 | +fees are the ones charged by Paypal. |
0 commit comments