Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Multi-Currency Support for payment gateways

オープン
#71 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
php, wordpress
領域
payments

調査の方向性

ファイル、テスト、またはエントリーポイントは指定されていません。まず、gateway の認証情報と環境設定がどのように表現されているかを追跡し、次にそのフローを一覧にある gateway の通貨要件と比較してください。完了条件は、環境の選択を含む、通貨固有の認証情報に対応する、gateway が利用できる framework の抽象化について合意されていることです。

索引モデルが issue の本文から書いたものです。

説明

Feature Payment Gateway

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 ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

godaddy-wordpress/wc-plugin-framework のほかの issue

godaddy-wordpress/wc-plugin-framework の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。