#supun-wallet

1 messages · Page 1 of 1 (latest)

tardy spire
tame basalt
#

as of now i am using below method to create token for other cards
let res = await this.stripe.createToken(this.card)

tardy spire
#

heya @tame basalt, you can use either Checkout or Payment Element which offers Apple Pay or Google Pay as a payment method option. After creating a SetupIntent and collecting the card details to complete the SetupIntent, the completed SetupIntent will return a PaymentMethod object.

you shouldn't use a Token object since Tokens are deprecated.

tame basalt
#

@tardy spire thanks for quick reply. but we have an existing integration with tokens

tardy spire
#

gimme a second, i'll get back to you soon

tardy spire
tame basalt
#

Thanks