Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant hide showStoredPaymentMethod with BCMC on IOS #48

Open
mickadoua opened this issue Jun 4, 2021 · 2 comments
Open

Cant hide showStoredPaymentMethod with BCMC on IOS #48

mickadoua opened this issue Jun 4, 2021 · 2 comments

Comments

@mickadoua
Copy link
Collaborator

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
Copy link

@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
Copy link
Collaborator Author

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

i fix 4 bugs,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants