Skip to content

Updated payment source types + unit tests#336

Merged
david-ruiz-cko merged 2 commits into
masterfrom
feature/INT-1629
May 19, 2026
Merged

Updated payment source types + unit tests#336
david-ruiz-cko merged 2 commits into
masterfrom
feature/INT-1629

Conversation

@david-ruiz-cko
Copy link
Copy Markdown
Contributor

This pull request 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 PaymentSourceType for various APMs, including bizum, ach, blik, mobilepay, octopus, paynow, plaid, sequra, swish, twint, and vipps.

New request source classes for APMs:

  • Implemented new request source classes in the Apm namespace 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_number for ACH, partner_agreement_id for Blik, token and account_holder for Plaid, billing_address for Sequra, and billing_descriptor for 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.

@david-ruiz-cko david-ruiz-cko requested a review from a team May 19, 2026 10:10
@sonarqubecloud
Copy link
Copy Markdown

@david-ruiz-cko david-ruiz-cko merged commit 7b7f8dc into master May 19, 2026
6 checks passed
@david-ruiz-cko david-ruiz-cko deleted the feature/INT-1629 branch May 19, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants