Multi-Currency Support for payment gateways
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Non vengono nominati file, test o punti di ingresso. Inizia tracciando come vengono rappresentate le credenziali dei gateway e le impostazioni dell’ambiente, quindi confronta questo flusso con i requisiti di valuta dei gateway elencati; il lavoro è completato quando viene concordata un’astrazione del framework per le credenziali specifiche per valuta, inclusa la selezione dell’ambiente, che i gateway possano utilizzare.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- PHP
- Stelle
- 146
- Fork
- 43
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di godaddy-wordpress/wc-plugin-framework
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
godaddy-wordpress/wc-plugin-framework#806 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 52/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Google Pay Missing Environment VariableForse già presa Una pull request collegata a questa issue è aperta o già unita. ApertaGoogle Pay JavaScript
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
-
i18n Needs Reporter Feedabck
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
godaddy-wordpress/wc-plugin-framework#536 · 1 commento ·
Tutte le issue di godaddy-wordpress/wc-plugin-framework
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Automattic/blocks-engine#2866 ·
I maintainer di solito rispondono entro 1 giorno
-
Good first issue: add laravel-inertia stack budget preset (Laravel 11 + Inertia.js + PHP 8.3)Apertaenhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
backend gamification P0
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
semanadeinformatica/website#461 ·
-
HttpRequestTrait fatals on WordPress 7.2: $blocked_http_requests clashes with WP_UnitTestCase_BaseAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
area: docs eco: php good first issue help wanted lane: free-agent roadmap size: XS type: docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
arminazimi/evergreen#453 ·
I maintainer di solito rispondono entro 1 giorno