[FIX] ecommerce: add mandatory configuration for Paypal requests encoding (#498)

opw-2149768
This commit is contained in:
Richard Mathot 2019-12-26 09:00:40 +01:00 committed by GitHub
parent 89764d215b
commit 54c9afb465
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

View File

@ -48,13 +48,34 @@ Set up your Paypal account
.. image:: media/paypal_ipn_setup.png .. image:: media/paypal_ipn_setup.png
:align: center :align: center
* Now you must change the encoding format of the payment request sent by Odoo .. tip:: If you want your customers to pay without creating a Paypal account,
to Paypal. To do so, get back to *My selling tools* and click **Paypal Account Optional** needs to be turned on.
**PayPal button language encoding** in *More Selling Tools* section.
.. image:: media/paypal_button_encoding.png .. image:: media/paypal_account_optional.png
:align: center :align: center
.. tip:: For Encrypted Website Payments & EWP_SETTINGS error,
please check the `paypal documentation. <https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/encryptedwebpayments/#encrypted-website-payments-ewp>`__
Configure the encoding of the requests
--------------------------------------
If you use accented characters (or anything else than basic Latin characters)
for your customer names, addresses... you MUST configure the encoding format of
the payment request sent by Odoo to Paypal.
.. danger::
If you don't configure this setting, some transactions fail without notice.
To do so, open:
* `this page for a test account <https://sandbox.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-language-encoding>`__
* `this page for a production account <https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-language-encoding>`__
Then, click *More Options* and set the two default encoding formats as **UTF-8**. Then, click *More Options* and set the two default encoding formats as **UTF-8**.
.. image:: media/paypal_more_options.png .. image:: media/paypal_more_options.png
@ -63,14 +84,7 @@ Set up your Paypal account
.. image:: media/paypal_encoding_options.png .. image:: media/paypal_encoding_options.png
:align: center :align: center
.. tip:: If you want your customers to pay without creating a Paypal account,
**Paypal Account Optional** needs to be turned on.
.. image:: media/paypal_account_optional.png
:align: center
.. tip:: For Encrypted Website Payments & EWP_SETTINGS error,
please check the `paypal documentation. <https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/encryptedwebpayments/#encrypted-website-payments-ewp>`__
Set up Odoo Set up Odoo
=========== ===========