mkharibalaji / react-native-adyen-payment

React Native Adyen Payment
https://mkharibalaji.github.io/react-native-adyen-payment/
MIT License
35 stars 35 forks source link

Cant hide showStoredPaymentMethod with BCMC on IOS #48

Open mickadoua opened 3 years ago

mickadoua commented 3 years ago

this configuration didn't hide the stored button

bcmc: { card_public_key: environment.ADYEN_CARD_PUBLIC_KEY, showsStorePaymentMethodField: false, },

i create a fix, I simply add a line https://github.com/mickadoua/react-native-adyen-payment/blob/f5e6de68ad922a47e37cd42413b91c85c1581451/ios/AdyenPayment.swift#L129

I can create a PR with that fix

Napster2210 commented 3 years ago

@mickadoua Have you successfully configured this package in your RN app? I am facing below issue

APIClient Decoder error: valueNotFound(Swift.UnkeyedDecodingContainer, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "storedPaymentMethods", intValue: nil)], debugDescription: "Cannot get unkeyed decoding container -- found null value instead.", underlyingError: nil))

Do you have any idea of this error? If you can help me, that would be great help to me.

mickadoua commented 3 years ago

try with my fork https://github.com/mickadoua/react-native-adyen-payment

i fix 4 bugs,