feat: Add support for creating payment methods to payment module (#11063)

CLOSES CLO-407
This commit is contained in:
Stevche Radevski
2025-01-21 12:31:44 +01:00
committed by GitHub
parent cd758067d4
commit 05c8a67d8e
11 changed files with 240 additions and 79 deletions

View File

@@ -2543,7 +2543,6 @@ medusaIntegrationTestRunner({
await paymentModule.createPaymentCollections({
amount: 5001,
currency_code: "dkk",
region_id: defaultRegion.id,
})
const paymentSession = await paymentModule.createPaymentSession(
@@ -2615,7 +2614,6 @@ medusaIntegrationTestRunner({
await paymentModule.createPaymentCollections({
amount: 5000,
currency_code: "dkk",
region_id: defaultRegion.id,
})
const paymentSession = await paymentModule.createPaymentSession(

View File

@@ -1330,7 +1330,6 @@ medusaIntegrationTestRunner({
).data.shipping_option
paymentCollection = await paymentService.createPaymentCollections({
region_id: region.id,
amount: 1000,
currency_code: "usd",
})