Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Multi-Currency Support for payment gateways

Aperta
#71 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
php, wordpress
Ambito
payments

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

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.

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di godaddy-wordpress/wc-plugin-framework

Tutte le issue di godaddy-wordpress/wc-plugin-framework

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.