Multi-Currency Support for payment gateways
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Không có tệp, bài kiểm thử hoặc điểm vào nào được nêu tên. Hãy bắt đầu bằng cách lần theo cách thông tin xác thực của gateway và các thiết lập môi trường được biểu diễn, sau đó so sánh luồng đó với các yêu cầu về tiền tệ của những gateway được liệt kê; được xem là hoàn tất khi đã thống nhất một abstraction của framework cho thông tin xác thực theo từng loại tiền tệ, bao gồm việc lựa chọn môi trường, mà các gateway có thể sử dụng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- PHP
- Star
- 146
- Fork
- 43
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của godaddy-wordpress/wc-plugin-framework
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
godaddy-wordpress/wc-plugin-framework#806 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 52/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Google Pay Missing Environment VariableCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởGoogle Pay JavaScript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
-
i18n Needs Reporter Feedabck
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
godaddy-wordpress/wc-plugin-framework#536 · 1 bình luận ·
Tất cả issue của godaddy-wordpress/wc-plugin-framework
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
verbb/formie#3033 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Type] Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Awaiting Triage enhancement / feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
macOS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
beyondcode/herd-community#1774 ·