feat(medusa): Payment Collection endpoints (#2525)
This commit is contained in:
1 parent
27184f3878
commit
755ba90c05
58 files changed
+1190
-484
No files matched your search
@@ -20,6 +20,12 @@ class MobilePayAdyenService extends PaymentService {
|
||||
return raw
|
||||
}
|
||||
|
||||
async createPaymentNew(paymentInput) {
|
||||
const raw = await this.adyenService_.createPaymentNew(paymentInput)
|
||||
raw.type = "mobilepay"
|
||||
return raw
|
||||
}
|
||||
|
||||
async authorizePayment(sessionData, context) {
|
||||
return this.adyenService_.authorizePayment(sessionData, context)
|
||||
}
|
||||
@@ -32,6 +38,10 @@ class MobilePayAdyenService extends PaymentService {
|
||||
return this.adyenService_.updatePayment(data)
|
||||
}
|
||||
|
||||
async updatePaymentNew(data, _) {
|
||||
return this.adyenService_.updatePaymentNew(data)
|
||||
}
|
||||
|
||||
async updatePaymentData(sessionData, update) {
|
||||
return this.adyenService_.updatePaymentData(sessionData, update)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user