stripe_intent_data 0.1.9 copy "stripe_intent_data: ^0.1.9" to clipboard
stripe_intent_data: ^0.1.9 copied to clipboard

A package to handle stripe payment's api responses and provides stripe intent details, charge details and customer details, it also create stipe cutomer ID if not available and returns equire data to [...]

build status

stripe_intent_data #

A new Flutter package to reduce the effort to write stripe codes for making intent and get data from the API Like:

  • Create Customer ID
  • Get payment Intent Data
  • Get Charge Details

Getting Started #

Create an Intent

  String stripeSecretKey =
      'sk_test_51I';

  var data = await StripeIntentData(
    currency: 'EUR',
    stripeSecretKey: stripeSecretKey,
  ).getStripeIntent('name', 'email ID', 'amount', 'customer ID if available otherwise null');

Get Charge Details

  String stripeSecretKey =
      'sk_test_51I';

  var data = await StripeIntentData(
    currency: 'EUR',
    stripeSecretKey: stripeSecretKey,
  ).getPaymentDetails(paymentIntentID);

Example to understand the uses cases #

2
likes
120
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

A package to handle stripe payment's api responses and provides stripe intent details, charge details and customer details, it also create stipe cutomer ID if not available and returns equire data to process a payment and also returns a charge details

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on stripe_intent_data