ezet / stripe-sdk

A simple and flexible Stripe library for Flutter with complete support for SCA and PSD2.
https://pub.dev/packages/stripe_sdk
Other
137 stars 137 forks source link

Example doesn't work as it lacks stripe_ui.dart #132

Closed jainkunal closed 2 years ago

jainkunal commented 3 years ago

In the master branch the example doesn't work as it lacks strip_ui.dart mentioned in a few places. For Ex: https://github.com/ezet/stripe-sdk/blob/04976ab3ef65f845ab0801865edec43338a67747/lib/src/ui/screens/add_payment_method_screen.dart#L10

DmitriyYakovlev commented 3 years ago

Yes, I have seen this today too((

josxha commented 3 years ago

Oh, I haven't seen this issue in time. I suggested in https://github.com/ezet/stripe-sdk/commit/200a1787bafc4981ffc3bb17a549a2892ed7baa3#r49808198 that the file might not have been added to the commit. A temporary fix is to make the following changes to your pubspec.yaml file:

dependencies:
   ...
   stripe_sdk: any

dependency_overrides:
   stripe_sdk:
      git:
        url: git://github.com/ezet/stripe-sdk.git
        ref: 617e34ce36bba3428a244525647522dd2e62a072
ezet commented 3 years ago

This is a mistake on my part, will fix it.

josxha commented 3 years ago

Fixed in https://github.com/ezet/stripe-sdk/commit/6cd4e06497fdd8480d604c39804fb1f096ac8a13 and can be closed.