#createPaymentNew in AbstractPaymentService what it?

7 messages · Page 1 of 1 (latest)

elfin swan
#

In AbstractPaymentService we have createPaymentNew(paymentInput: PaymentProviderDataInput): Promise<PaymentSessionData> and updatePaymentNew(paymentSessionData: PaymentSessionData, paymentInput: PaymentProviderDataInput): Promise<PaymentSessionData> declaration. When it's called and what exactly should be implemented inside? In the documentation there is no info about it.

bold spear
#

It is not yet part of the official public api that is why. @vital jackal can tell you more about when it will become public and documented

elfin swan
#

ok, thx! but we have to use AbstractPaymentService for new payment providers right?

bold spear
#

Yes indeed, you can implement all the other methods not suffixed by new for now

peak trench
#

Is this the right thread? 😉

bold spear
#

Oups sorry

#

Thanks @peak trench