PayMongoPaymentIntent extension

Payment intent for CREDIT/DEBIT CARD.

on

Methods

attachToPaymentIntent(String id, PaymentIntentAttach data) Future<PaymentIntentAttachResponse>
Attach payment intent to receive payment status.
createPaymentIntent(PaymentIntentAttributes attributes) Future<PaymentIntentResponse>
Create payment and call attachToPaymentIntent to your backend using secret key
retreivePaymentIntent(int id) Future<String?>
retrievePaymentIntentClient({required String paymentIntentId, required String clientKey}) Future<PaymentIntentResponse>