条纹¶
Stripe <https://stripe.com/>
_ 是一家总部位于美国的在线支付解决方案提供商,允许企业接受 信用卡 和其他支付方式。
将您的Stripe账户与Odoo链接¶
获取凭证的方法取决于您的托管类型:
导航到支付提供商Razorpay 并将其状态更改为 启用。
当Stripe发送确认邮件时,请确认您的电子邮件地址。
At the end of the process, click Agree and submit. If all requested information has been submitted, you are then redirected to Odoo, and your payment provider is enabled.
导航到支付提供商Razorpay 并将其状态更改为 启用。
当Stripe发送确认邮件时,请确认您的电子邮件地址。
At the end of the process, click Agree and submit; you are then redirected to the payment provider Stripe in Odoo.
在 基于 中设置 税收;
小技巧
To use an existing Stripe account, activate the Developer mode and enable Stripe manually. You can then Fill in your credentials, generate a webhook, and enable the payment provider.
You can also test Stripe using the 测试模式. To do so, first, log into your Stripe dashboard and switch to the Test mode. Then, in Odoo, activate the Developer mode, navigate to the payment provider Stripe, fill in your API credentials with the test keys, and set the State field to Test Mode.
填写您的凭据¶
如果需要使用您的 API凭据 连接Stripe帐户,则必须完成以下凭据:
Go to the API keys page on Stripe, or log into your Stripe dashboard and go to .
In the Standard keys section, copy the Publishable key and the Secret key and save them for later.
In Odoo, navigate to the payment provider Stripe.
In the Credentials tab, fill in the Publishable Key and Secret Key fields with the values you previously saved.
生成 Webhook¶
如果您的 Webhook签名密钥 需要与您的Stripe账户连接,您可以自动或手动创建Webhook。
Make sure your Publishable and Secret keys are filled in, then click Generate your webhook.
Go to the Webhooks page on Stripe, or log into your Stripe dashboard and go to .
In the Hosted endpoints section, click Add endpoint. Then, in the Endpoint URL field, enter your Odoo database’s URL, followed by
/payment/stripe/webhook
, e.g.,https://yourcompany.odoo.com/payment/stripe/webhook
.选择页面顶部的 公司 选项。然后,配置以下字段:
在 Payment Intent 部分,选择 payment_intent.amount_capturable_updated 和 payment_intent.succeeded。
in the Payment intent section: payment_intent.amount_capturable_updated, payment_intent.payment_failed, payment_intent.processing, and payment_intent.succeeded;
在 设置意图 部分,选择 setup_intent.succeeded。
点击 创建付款。
Click Add endpoint, then click Reveal and save your Signing secret for later.
In Odoo, navigate to the payment provider Stripe.
In the Credentials tab, fill the Webhook Signing Secret field with the value you previously saved.
注解
可以选择其他事件,但是它们目前不被Odoo处理。
启用API访问¶
To allow customers to use the Apple Pay button to pay their eCommerce orders, go to the Configuration tab, enable Allow Express Checkout, and click Enable Apple Pay.
另请参阅
在销售点中使用Stripe支付终端