PayPal

Paypal ist ein amerikanischer Online-Zahlungsanbieter, der weltweit verfügbar ist, und einer der wenigen, die keine Abonnementgebühren verlangen.

Konfiguration in PayPal

  1. Melden Sie sich in Ihrem PayPal-Entwickler-Dashboard an.

  2. Klicken Sie auf Apps & Credentials (Apps und Anmeldedaten) und klicken Sie auf Create App (App erstellen).

  3. Geben Sie den App Name (App-Namen) ein und klicken Sie auf Create App (App erstellen).

  4. Kopieren Sie die Client ID (Client-ID) und das Secret (Geheimnis) und speichern Sie sie für später.

Wichtig

If you use customer names or addresses that include accented or non-Latin characters, you must configure the encoding format of the payment request sent by Odoo to PayPal to avoid transaction failures without notice. To do so, access the PayPal button language encoding setting, click More Options, and set the Encoding field to UTF-8.

If you are trying PayPal as a test, access your PayPal Sandbox account and configure the encoding format for your sandbox account.

Tipp

For encrypted website payments & EWP_SETTINGS errors, please check the PayPal documentation.

Konfiguration in Odoo

  1. Navigieren Sie zum Zahlungsanbieter PayPal.

  2. In the Credentials tab, enter the Email linked to your PayPal account, then fill in the Client ID and Client Secret fields with the values you saved at the step Konfiguration in PayPal.

  3. Click Generate your webhook to create the Webhook ID.

  4. Set the State field to Enabled, and make sure the PayPal payment provider is Published.

  5. Configure the remaining options as desired.

Testen

PayPal provides two sandbox accounts that you can use to simulate live transactions:

  • A business account (to use as the merchant account, e.g., ab-1abc12345678@business.example.com);

  • A default personal account (to use as the shopper account, e.g., ba-9cba87654321@personal.example.com).

To test the PayPal payment workflow in Odoo:

  1. Log into the Paypal Developer Site using your PayPal credentials and go to Testing Tools ‣ Sandbox Accounts.

  2. Click the (ellipsis) icon next to the sandbox business account and select View/Edit account.

  3. Copy the Email, Client ID, and Secret and save them for the next step.

  4. In Odoo, configure the PayPal payment provider with the values saved at the previous step and set the State field to Test Mode.

Über das Sandbox-Privatkonto können Sie eine Testtransaktion aus Odoo durchführen.