Multi-Currency Support for payment gateways
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
ファイル、テスト、またはエントリーポイントは指定されていません。まず、gateway の認証情報と環境設定がどのように表現されているかを追跡し、次にそのフローを一覧にある gateway の通貨要件と比較してください。完了条件は、環境の選択を含む、通貨固有の認証情報に対応する、gateway が利用できる framework の抽象化について合意されていることです。
索引モデルが issue の本文から書いたものです。
説明
Multi-currency support is becoming a fairly popular request for our gateways. Let's investigate how we can implement a nice abstracted approach to multi-currency.
Gateways that support multi-currency
- Authorize.net (AIM/CIM) - requires a separate merchant account (API login ID/transaction key) per currency. API endpoint does not change. See WooIdea
- Beanstream - requires a separate merchant account (ID) per currency. API endpoint does not change.
- Braintree - requires a separate merchant account (ID) per currency. API endpoint does not change.
- CyberSource - no special configuration required, include currency in transaction request.
- Elavon Converge - no special configuration required, include currency in transaction request.
- First Data/Payeezy - no special configuration required, include currency in transaction request.
- Moneris - requires a separate merchant account (store ID/API token) per currency. API endpoint does not change.
- PayPal Express - no special configuration required, include currency in transaction request. Details here
- Realex - no special configuration required, include currency in transaction request.
- USA ePay - requires a separate merchant account (source key) per currency. API endpoint does not change.
Summary
5 gateways that require separate credentials per currency. None that change API endpoints. Some of those accept a lot of currencies (Braintree supports over 100+), so I think our implementation would have to assume the currently entered credentials are for the store's base currency, and allow the admin to dynamically add additional credential fields for a selected currency. These should also be keyed to the environment field.
The framework doesn't have any concept of a credential field so this would have to be abstracted into perhaps a method that returns an array of those credential fields given a specific currency (either defined or from an order) so implementing gateways can parse them into whatever credentials it needs.
- 主要言語
- PHP
- スター
- 146
- フォーク
- 43
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
godaddy-wordpress/wc-plugin-framework のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
godaddy-wordpress/wc-plugin-framework#806 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
Google Pay Missing Environment Variable対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンGoogle Pay JavaScript
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
i18n Needs Reporter Feedabck
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
godaddy-wordpress/wc-plugin-framework#536 · コメント 1 件 ·
godaddy-wordpress/wc-plugin-framework の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Automattic/blocks-engine#3090 ·
メンテナーはふだん 1 日以内に返信
-
macOS
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
beyondcode/herd-community#1771 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
-
module: user interface priority: high severity: minor type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
[Enhancement] Add a dark-bg Tailwind variant対応中かも @bd-viget が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
vigetlabs/wordpress-site-starter#306 ·
メンテナーはふだん 1 日以内に返信