feat: Improvements to payment module and Stripe provider (#10980)

* fix: Correctly parse Stripe error, remove unused method

* fix: Isolate the payment provider error check function

* fix: Allow passing few extra parameters to Stripe

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Stevche Radevski
2025-01-16 08:12:53 +01:00
committed by GitHub
co-authored by Oli Juhl
parent 44cd0224af
commit f5235862c0
4 changed files with 62 additions and 96 deletions
@@ -556,7 +556,6 @@ moduleIntegrationTestRunner<IPaymentModuleService>({
data: {},
context: {
extra: {},
resource_id: "test",
email: "test@test.com",
billing_address: {},
customer: {},