Stripe¶
Stripe は米国を拠点とするオンライン決済プロバイダーで、クレジットカード やその他の支払方法を受け付けることができます。
OdooでStripeアカウントを作成する¶
To create a new Stripe account and link it to your Odoo database, make sure the company's Email is configured in the company's settings, then follow the steps below according to your hosting type:
決済プロバイダーStripeに移動 して Stripeに接続 をクリックします。
設定手続きを行い、Stripeから確認メールが届いたらメールアドレスを確認します。
プロセスの最後に 同意して送信 をクリックします。要求された情報が全て送信されると、Odooにリダイレクトされ、決済プロバイダーが有効になります。
決済プロバイダーStripeに移動 して Stripeに接続 をクリックします。
設定手続きを行い、Stripeから確認メールが届いたらメールアドレスを確認します。
プロセスの最後に:guilabel:`同意して送信`をクリックすると、Odoo内の決済プロバイダー**Stripe**にリダイレクトされます。
ステータス フィールドに 有効化済 を設定します。
ちなみに
If you have created an account instead of linking an existing one, enable the developer mode, then click Reset your Stripe Account on the Stripe payment provider form, then fill in your Stripe account's credentials.
Manual credential input¶
Manual credential input is needed, for example, when linking an existing Stripe account to your Odoo database, when using an account created on Odoo.sh or On-premise, or when testing Stripe without affecting live transactions.
Stripe configuration¶
StripeのAPIキーページ にアクセスするか、Stripeのダッシュボードにログインして にアクセスして下さい。
スタンダードキー セクションで、 公開可能キー と シークレットキー をコピーして保存しておきます。
Odoo設定¶
In the Credentials tab, fill in the Publishable Key and Secret Key fields with the values you previously saved.
Click Generate your webhook.
Configure the remaining options as needed.
ステータス フィールドに 有効化済 を設定します。
ちなみに
You can also test Stripe without affecting live transactions using the test mode and the API keys of your Stripe account's Test Mode or a sandbox environment.
To link the same Stripe account to multiple companies in a database, create an account and fill in the credentials for one company, then reuse the same credentials and webhook for the others. To view the webhook, go to the Webhooks page on Stripe, or log into your Stripe dashboard and go to . Click the destination in the list, then click the (Reveal secret) icon next to the Signing secret field and copy the value.
Apple Payを有効化¶
To allow customers to use the Apple Pay button to pay for their eCommerce orders, navigate to the Stripe payment provider, then go to the Configuration tab, enable Allow Express Checkout, and click Enable Apple Pay.
ちなみに
Stripe allows to manually capture and refund payments either from Odoo or directly from the Stripe dashboard.