Paypal is available worldwide and very popular. It does not charge any subscription fees, and creating an account is very easy. Therefore, we strongly recommend that Odoo beginners use Paypal. It is like part of our seamless process, taking customers to the Paypal website to complete payment.

A business account is needed to get paid with Paypal. Create a Paypal Business Account 或將您的個人帳戶升級為商業帳戶。前往Paypal設定,點擊升級為商業帳戶,然後按照幾個配置步驟操作。

首先,讓我們看看如何設置您的Paypal帳戶,以便透過Odoo打造無縫的客戶體驗。
Log in and open Settings. Go to :menuselection:[UNKNOWN NODE problematic]Products and Services –> Website Payments` and click **Update** under **Website Preferences**.

[UNKNOWN NODE problematic]Auto Return* Automatically redirects customers back to Odoo after payment completion. Check *Auto Return* and enter your domain followed by ``/shop/confirmation`` as the *Return URL* (e.g., https://yourcompany.odoo.com/shop/confirmation).

This URL is required in PayPal, but is not actually used; Odoo transmits it with each transaction. If you manage multiple sales channels or Odoo databases, please do not worry.

Payment Data Transfer 在支付确认处理完成后立即将其传送至 Odoo。若未启用此功能,Odoo 将无法完成销售流程。此设置也必须激活。保存时,系统会生成一个 身份令牌。稍后您需要在 Odoo 中输入该令牌。

Paypal account options

我們建議您不要提示客戶在付款時使用Paypal帳號登入。讓他們也能使用簽帳金融卡/信用卡付款,否則您可能會失去一些交易。請確保此設定已開啟。

PDT仅发送一次订单确认。因此,您的网站在发送时必须处于运行状态;否则将永远无法收到该消息。这就是我们建议额外激活即时付款通知(IPN)的原因。通过IPN,订单确认的投递几乎得到保证,因为IPN会重新发送确认,直到您的网站确认收到为止。

To enable IPN, return to the *Website Payments* menu and click *Update* under *Instant Payment Notification*.
The Notification URL to set is your domain name + “payment/paypal/ipn” (e.g. https://yourcompany.odoo.com/payment/paypal/ipn).

If you use accented characters (or any characters beyond the basic Latin set) for customer names, addresses, etc., you must configure the encoding format of the payment request that Odoo sends to PayPal.

Danger

If this setting is not configured, some transactions may fail without notification.

To perform this operation, open:

Then click More Options and set the two default encoding formats to UTF-8.

Your PayPal account is ready!

提示

If you allow customers to pay without creating a PayPal account, you must enable the *PayPal Account Optional* setting.

提示

對於加密網站付款 & EWP_SETTINGS 錯誤,請檢查 Paypal 文檔.

Activate *Paypal* from the configuration bar of sales, billing, and e-commerce applications or from the *Payment Acquirer* configuration menu.

Odoo needs three types of PayPal credentials:

  • Email ID is your login email address in Paypal.
  • Merchant ID can be found in your PayPal account settings, under the menu: :menuselection:[UNKNOWN NODE problematic]Account Settings –> Business Information.
  • As mentioned earlier, [UNKNOWN NODE problematic] the Paypal PDT token is *located* in the website payment *configuration*.

You may charge customers an additional fee to offset the transaction fees PayPal charges you. After being redirected to PayPal, your customers will see an extra charge added to the order.

要启用此功能,请前往Odoo中Paypal配置的“配置”选项卡,并勾选添加额外费用。

您可以參考 Paypal 費用 設定費用。

Annotation

EU trade merchants <https://europa.eu/youreurope/citizens/consumers/shopping/pricing-payments/ index_en.htm>`_Additional fees are not allowed for using credit card payments.

您的配置已準備就緒。請確保生產模式已開啟,然後點擊旁邊的發布按鈕來發布付款方式。

Paypal 現在可在您的付款表單中使用,適用於電子商務、銷售和發票應用程式。當客戶點擊立即付款時,會被重新導向至 Paypal 網站。付款處理完成後,他們會回到 Odoo 中的確認頁面。

You can use a PayPal sandbox account to test the entire payment process in Odoo.

Log in to the PayPal Developer Site using your PayPal credentials https://developer.paypal.com/>`__.

This will create two sandbox accounts:

使用商家账户登录PayPal沙盒,并按照相同的配置说明进行操作。在Odoo中输入您的沙盒凭据,并确保Paypal仍设置为测试环境。同时,请确保您的电子商务设置中未激活自动开票功能,以免在完成虚拟交易时生成发票。

Run a test transaction from Odoo using a sandbox personal account.

評分
0 0

本課程沒有啟用評論功能。