checkout / frames-android

Frames Android: making native card payments simple
https://www.checkout.com/docs/integrate/sdks/android-sdk
MIT License
47 stars 32 forks source link

PIMOB: Java sample app updated for CVV tokenization #246

Closed chintan-soni-cko closed 8 months ago

chintan-soni-cko commented 8 months ago

Issue

PIMOB-2176

Proposed changes

  1. Updated java sample app
  2. Added a new button for cvv tokenisation to redirect to the new screen
  3. Added a new overloaded method name as provideCvvComponentContent for the merchant who is not using compose in Java or kotlin language

Note: This is a traditional sample app and added minimal UI design just for demonstrating how it will work without compose UI

Tes

java.webm

  1. open java sample app
  2. click on cvv tokenisation
  3. verify amex cvv component and pay button working along with cvv validation working as expected
  4. Try to add more customise option for cvv input field
  5. Create token with success and failure scenario to test the behaviour

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you choose the solution you did and what alternatives you considered, etc...