8000 [IMP] accounting: fix misleading paypal troobleshooting section · newtogithub/documentation-user@a58a704 · GitHub
[go: up one dir, main page]

Skip to content
< 8000 div style="--spacing:var(--spacing-none)" class="Box-sc-g0xbh4-0 prc-PageLayout-PageLayoutRoot-1zlEO">

Commit a58a704

Browse files
committed
[IMP] accounting: fix misleading paypal troobleshooting section
The auto-return must be on, but the value itself is of low importance. PDT must absolutely be off and can trigger the 'method not allowed' error, so this should be added here as well. Add a warning to imply that this is not as plug'n'play as some may believe and that an on-premise server need to be configured correctly.
1 parent e2000ad commit a58a704

File tree

1 file changed

+13
-9
lines changed
  • accounting/receivables/customer_payments

1 file changed

+13
-9
lines changed

accounting/receivables/customer_payments/paypal.rst

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ Paypal Configuration
6363

6464
.. _WebsitePreferences:
6565

66-
2. Access "Website preferences" and configure Auto Return
66+
2. Access "Website preferences" and configure Auto Return (Payment Data Transfer
67+
must be left to Off)
6768

6869
* **Database name**: yourcompany
6970
* **Website URL**: https://yourcompany.odoo.com/
@@ -87,7 +88,8 @@ Paypal Configuration
8788
- **Website URL**: https://yourcompany.odoo.com/
8889
- **Notification URL**: https://yourcompany.odoo.com/payment/paypal/ipn/
8990

90-
.. tip:: verify that your Notify URL uses the correct protocol (HTTP / HTTPS)
91+
.. tip:: Verify that your Notify URL uses the correct protocol (HTTP / HTTPS).
92+
If you use the odoo.com domain, we advise you to use HTTPS.
9193

9294
4. Set the encoding to UTF-8 from the menu :menuselection:`Settings -->
9395
Language Encoding --> More Options --> More selling tools`
@@ -137,16 +139,18 @@ Paypal payment instead of being redirected to your database:
137139
.. image:: ./media/paypal16.png
138140
:align: center
139141

140-
Verify the Auto Return URL you have `configured in Paypal <WebsitePreferences_>`_
141-
is correct and pointing to your own domain name.
142+
Verify the settings you have `configured in Paypal <WebsitePreferences_>`_:
142143

143-
You can either:
144+
* Auto Return should be on (the value can be quite generic, like
145+
<odoo_instance>/shop/confirmation; the correct URL will be set for each
146+
transaction)
144147

145-
* Enter the correct return URL and activate Auto Return
148+
* Payment Data Transfer should be off
146149

147-
* or deactivate Auto Return and delete URL (this method will have an
148-
extra click through Paypal in order to return to your ecommerce
149-
page.)
150+
.. warning:: On-premise databases must be accessible through classic HTTP/HTTPS
151+
ports (80/443) for Paypal to work correctly, usually through a reverse
152+
proxy. Contact your integrating partner if you are unsure this is the
153+
case. Databases hosted on odoo.com are already configured correctly.
150154

151155
.. seealso::
152156

0 commit comments

Comments
 (0)
0