store_cards/method_channel_store_cards
library
Functions
-
getPaymentWithCards({required String? brand, required String checkoutId, required String tokenId, required String cvv, required String channelName, required String shopperResultUrl, required PaymentMode paymentMode, required String lang})
→ Map<String, String?>
-
This function is used to get payment with cards with the required parameters.
It takes in an required brand, checkoutId, tokenId, cvv, channelName, shopperResultUrl,
paymentMode and lang and returns a map containing the type, mode, checkoutid,
brand, lang, ShopperResultUrl, TokenID and cvv.
-
implementPaymentStoredCards({required String? brand, required String checkoutId, required String tokenId, required String cvv, required String channelName, required String shopperResultUrl, required PaymentMode paymentMode, required String lang})
→ Future<PaymentResultData>
-
This function is used to implement payment using stored cards.
The
brand should be provided for the payment.
The checkoutId should be provided for the payment.
The tokenId should be provided for the payment.
The cvv should be provided for the payment.
The channelName should be provided for the payment.
The shopperResultUrl should be provided for the payment.
The paymentMode should be provided for the payment.
The lang should be provided for the payment.
It will return a Future<PaymentResultData> object that contains the payment result.