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

BraintreeUIKit alternate. #348

Open
vadivelmuniswamy opened this issue Aug 3, 2021 · 10 comments
Open

BraintreeUIKit alternate. #348

vadivelmuniswamy opened this issue Aug 3, 2021 · 10 comments

Comments

@vadivelmuniswamy
Copy link

Our product has customized fields to collect the card details.
But it's deprecated from 9.0.0
What is the alternate way to use them?
Is there any possibilities to release them again?

@scannillo
Copy link
Contributor

In v9.0.0 we removed the deprecated BraintreeUIKit framework (see CHANGELOG).

We instead encourage you to use the full drop-in UI, which does contain and handle card form presentation (and card detail collection).

@ghost
Copy link

ghost commented Aug 18, 2021

@scannillo hi, does that mean that fields such as BTUIKFormField are no longer available if we switch to SPM (which requires v9)?
We need to use a complete card form presentation?

@scannillo
Copy link
Contributor

👋 @fredadda-fiverr - No matter which package manager you use for v9, BraintreeUIKit has been removed. So for v9 you would have to use the full Drop-In UI. If you want to to customize your components and card fields, we encourage you use braintree_ios instead.

However, I do encourage you to comment here with what type of UI components you would like the SDK to have, so we can gauge a sense of interest from other devs as well.

@ghost
Copy link

ghost commented Aug 18, 2021

Thanks for the answer!
Here at Fiverr we are mostly interested in a screen to add Credit Card details (C/C number, First name / last name, expiration date and CVV), with the possibility to add a few custom fields around these C/C details. We wanted to apply our own design to this screen, that's why we used only individuals fields from the BTUIKit lib.

However, we used an old version of the lib (Braintree 4.36.0), and a quite old design too, so maybe it's the occasion to revamp it a bit 😄
I will check what we can do with the full Drop-in UI, if we can tailor it for our needs. If not, I will check Braintree.
Thanks!

@ghost
Copy link

ghost commented Aug 19, 2021

Hello @scannillo!
I tried to implement the BTDropInController in our workflow, but I realize it's a complete tokenization solution of the Credit Card.
What we need are just the individual fields with their logic (for example the C/C entry field with the Luhn algorithm, expiration date field with month / selection, etc.)
IMG_9637D7A40F84-1

Do you think that's something that exists in the braintree_ios lib, or do we have to recreate the fields from scratch?
[EDIT] We are not opposed to a complete screen if it offers enough customization and does not require a background validation / tokenization on external servers.

Thanks for your help

@ghost
Copy link

ghost commented Aug 22, 2021

@scannillo Hi again
I didn't see any possibility to customize UI components in Braintree iOS. Did you mean to create our own UI components (textFields and all) and use Braintree for tokenization?

@scannillo
Copy link
Contributor

👋 @fredadda-fiverr, so we only really offer the DropIn UI with the full tokenization attached, though the fonts & color scheme are customizable. We currently don't offer any standalone card fields.

@ghost
Copy link

ghost commented Sep 1, 2021

@scannillo Hi! Just another question: if we then decide to build our own UI, is there a validation logic I can use from Braintree or Braintree-dropIn, like the Luhn algorithm for C/C, or are there other standalone logic tools that are exposed?
Thanks

@scannillo
Copy link
Contributor

@fredadda-fiverr No, the braintree_ios doesn't include any Luhn verification. You can check out our Card docs to read more about the features offered.

@timonchev
Copy link

I'm in same situation, can we use somehow UI textfields with Braintree verification?

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

No branches or pull requests

3 participants