PayPal¶
Paypal is an American online payment acquirer available worldwide, and one of the few that does not charge a subscription fee.
Notă
Deși PayPal este disponibil în „peste 200 de țări/regiuni <https://www.paypal.com/webapps/mpp/country-worldwide>`_, doar „o selecție de valute sunt acceptate <https://developer.paypal. com/docs/reports/reference/paypal-supported-currencies>`_.
Setări în PayPal¶
Pentru a accesa setările contului dvs. PayPal, conectați-vă la PayPal, deschideți Setări cont și deschideți meniul Plăți pe site.
Important
Note that for PayPal to work in Odoo, the options Auto Return, PDT, and IPN must all be enabled.
Întoarcere automată¶
Funcția Auto Return redirecționează automat clienții către Odoo odată ce plata este procesată.
Din Plăți pe site, accesați și selectați Activat. Introdu adresa bazei de date Odoo (de exemplu, https://compania ta.odoo.com
) în câmpul Return URL și Salvează.
Notă
Orice URL face treaba. Odoo are nevoie doar ca setarea să fie activată, deoarece folosește o altă adresă URL.
Transfer de date de plată (PDT)¶
PDT permite primirea confirmărilor de plată, afișează starea plății clienților și verifică autenticitatea plăților. Din Transfer date de plată și selectați Activat.
, derulați în jos laSfat
PayPal afișează Tokenul de identitate PDT de îndată ce Return automat și Transfer de date de plată (PDT) sunt activate. Dacă aveți nevoie de Tokenul de identitate PDT, dezactivați și reactivați Transferul de date de plată pentru a afișa din nou simbolul.
Instant Payment Notification (IPN)¶
IPN is similar to PDT, but allows for more notifications, such as chargeback notifications. To enable IPN, go to Choose IPN settings. Enter a Notification URL, select Receive IPN messages (Enabled), and Save.
and clickCont PayPal Opțional¶
Vă sfătuim să nu solicitați clienților să se conecteze cu un cont PayPal la plată. Este mai bine și mai accesibil pentru clienți să plătească cu un card de debit/credit. Pentru a dezactiva această solicitare, accesați Activat pentru Cont PayPal opțional.
și selectațiFormatul mesajelor de plata¶
Dacă utilizați caractere accentuate (sau orice altceva decât caractere latine primare) pentru numele sau adresele clienților, atunci trebuie să configurați formatul de codificare al cererii de plată trimisă de Odoo către PayPal. Dacă nu, unele tranzacții eșuează fără notificare.
Pentru a face acest lucru, accesați contul dvs. de producție. Apoi, faceți clic pe Mai multe opțiuni și setați cele două formate implicite de codare ca UTF-8.
Sfat
Pentru Encrypted Website Payments & EWP_SETTINGS error, va rugam sa verificati documentatia Paypal.
Congigurati contul dvs. Paypal Sandbox, apoi urmati acest link pentru a configura formatul de codare in mediul de testare.
Setări în Odoo¶
Vedeți și
Credențiale¶
Odoo needs your API Credentials to connect with your PayPal account. To do so, go to Activate PayPal. Then, enter your PayPal account credentials in the Credentials tab:
andE-mail: adresa de e-mail de conectare în Paypal;
PDT Identity Token: the key used to verify the authenticity of transactions;
Use IPN: enable for PayPal to work properly in Odoo.
Sfat
Save the PDT Identity Token for later use.
To set the PDT Identity Token, switch to developer mode and retrieve the token by following the configuration steps at Transfer de date de plată (PDT).
Notă
The PayPal Merchant ID is not required in Odoo.
Important
If you are trying PayPal as a test, using a PayPal Sandbox account, change the State to Test Mode. We recommend doing this on a test Odoo database rather than on your main database.
Extra fees¶
You can charge extra fees to customers choosing to pay with PayPal in order to cover the transaction fees PayPal charges you. Once redirected to Paypal, your customer sees an extra amount applied to the order amount.
To activate this option, go to PayPal. Then, go to the Fees tab and tick the Add Extra Fees box.
and selectNotă
Va puteti referi la Paypal Fees pentru a seta taxele.
Traders in the EU are not allowed to charge extra fees for paying with credit cards.
Mediu de testare¶
Configurare¶
Datorită conturilor sandbox PayPal, puteți testa întregul flux de plată în Odoo.
Conectați-vă la Site-ul pentru dezvoltatori Paypal folosind acreditările dvs. PayPal, care creează două conturi sandbox:
Un cont de afaceri (pentru a fi utilizat ca comercianți, de exemplu, pp.merch01-facilitator@example.com);
Un cont personal implicit (pentru a fi folosit ca cumparatori, de ex., pp.merch01-buyer@example.com).
Log into PayPal sandbox using the merchant account and follow the same configuration instructions. Enter your sandbox credentials in Odoo (Credentials tab, and make sure the status is set on Test Mode. We recommend doing this on a test Odoo database rather than your main database.
in theFaceti o tranzactie de testare din Odoo folosind contul personal sandbox.