-
Notifications
You must be signed in to change notification settings - Fork 41
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
Vault Without Purchase #173
Conversation
CardPayments/src/main/java/com/paypal/android/cardpayments/VaultResult.kt
Show resolved
Hide resolved
CardPayments/src/main/java/com/paypal/android/cardpayments/DataVaultPaymentMethodTokensAPI.kt
Outdated
Show resolved
Hide resolved
CardPayments/src/main/java/com/paypal/android/cardpayments/VaultListener.kt
Show resolved
Hide resolved
CardPayments/src/main/java/com/paypal/android/cardpayments/CardClient.kt
Show resolved
Hide resolved
CardPayments/src/main/res/raw/graphql_query_update_setup_token.graphql
Outdated
Show resolved
Hide resolved
CardPayments/src/main/java/com/paypal/android/cardpayments/CardClient.kt
Outdated
Show resolved
Hide resolved
CardPayments/src/main/java/com/paypal/android/cardpayments/DataVaultPaymentMethodTokensAPI.kt
Show resolved
Hide resolved
CardPayments/src/main/res/raw/graphql_query_update_setup_token.graphql
Outdated
Show resolved
Hide resolved
CorePayments/src/main/java/com/paypal/android/corepayments/ResourceLoader.kt
Show resolved
Hide resolved
CorePayments/src/main/java/com/paypal/android/corepayments/api/EligibilityAPI.kt
Show resolved
Hide resolved
CorePayments/src/main/java/com/paypal/android/corepayments/graphql/common/GraphQLClient.kt
Show resolved
Hide resolved
….graphql Co-authored-by: Jax DesMarais-Leder <jdesmarais@paypal.com>
cf54923
to
bd4a6fc
Compare
uiState = uiState, | ||
onCreateSetupTokenSubmit = { createSetupToken() }, | ||
onAttachCardToSetupTokenSubmit = { attachCardToSetupToken() }, | ||
onCreatePaymentTokenSubmit = { createPaymentToken() }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same Q as on iOS - do we need to display the paymentToken in our Demo? Also, i'm still unclear on what a merchant is supposed to do with a paymentToken on their server after they get it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The demo app is designed to highlight interactions between client and server. Displaying the payment token is evidence that the vault completed successfully. A payment token can be used as a payment_source
in PPaaS, I believe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The demo app is designed to highlight interactions between client and server. Displaying the payment token is evidence that the vault completed successfully. A payment token can be used as a payment_source
in PPaaS, I believe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎊 Awesome! Last comment I have is that we make a ticket for updating our docs/
directory with vault instructions
We do have DTPPCPSDK-700 that involves docs. We haven't done docs driven here mostly because we were learning each step of the way. |
Summary of changes
CardClient#vault()
methodVaultRequest
andVaultResult
types for interacting with theCardClient#vault()
methodVaultListener
interface to receiveCardClient#vault()
success and failure resultsvaultListener
property toCardClient
vault-without-purchase-downscaled.mp4
Checklist
Authors