4.8.0
Release 4.8.0 (#337)
This release adds support for a wide range of new alternative payment methods (APMs) by introducing new payment source types and corresponding request source classes. These changes enable the system to handle additional payment options such as ACH, Bizum, Blik, MobilePay, Octopus, PayNow, Plaid, Sequra, Swish, Twint, and Vipps, among others. The update primarily involves extending the PaymentSourceType enumeration and implementing new request classes for each APM, some of which include additional relevant fields.
Support for new payment source types:
- Added new static members to
PaymentSourceTypefor various APMs, includingbizum,ach,blik,mobilepay,octopus,paynow,plaid,sequra,swish,twint, andvipps.
New request source classes for APMs:
- Implemented new request source classes in the
Apmnamespace for each supported APM:RequestAchSource,RequestBizumSource,RequestBlikSource,RequestMobilePaySource,RequestOctopusPaySource,RequestPayNowSource,RequestPlaidSource,RequestSequraSource,RequestSwishSource,RequestTwintSource,RequestVippsSource, and others. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
Additional fields for specific payment sources:
- Some new request source classes include additional fields relevant to their payment method, such as
account_type,country,account_numberfor ACH,partner_agreement_idfor Blik,tokenandaccount_holderfor Plaid,billing_addressfor Sequra, andbilling_descriptorfor Swish. [1] [2] [3] [4] [5]
These changes collectively expand the system's capability to support a broader array of payment methods, improving flexibility and coverage for international payments.