braintree-ios-drop-in icon indicating copy to clipboard operation
braintree-ios-drop-in copied to clipboard

BraintreeUIKit alternate.

Open vadivelmuniswamy opened this issue 4 years ago • 10 comments

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?

vadivelmuniswamy avatar Aug 03 '21 21:08 vadivelmuniswamy

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).

scannillo avatar Aug 03 '21 21:08 scannillo

@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?

ghost avatar Aug 18 '21 12:08 ghost

👋 @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.

scannillo avatar Aug 18 '21 14:08 scannillo

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 avatar Aug 18 '21 14:08 ghost

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 avatar Aug 19 '21 14:08 ghost

@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?

ghost avatar Aug 22 '21 11:08 ghost

👋 @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.

scannillo avatar Aug 24 '21 15:08 scannillo

@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

ghost avatar Sep 01 '21 08:09 ghost

@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.

scannillo avatar Sep 02 '21 14:09 scannillo

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

timonchev avatar Jun 16 '22 11:06 timonchev