#.fallenblade

1 messages · Page 1 of 1 (latest)

civic troutBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

fading nova
#

Hello! Those brand logos are not available via the API so you'd need to source the assets from elsewhere

tough sand
#

Okay, thanks.

#

@fading nova
Another question.

How do you use the saved payment method in the next subscription? I want my user to not input the card details again when they want to subscribe to our service again.

fading nova
#

It would depend on how you're integrating. Generally you'd set the default_payment_method on the Subscription and we'd bill that automatically

tough sand
#

For example, when the subscription is canceled. And the user wants to subscribe again using the same payment method. How do you do that without the user input the same card details again? because as of now I am using elements on confirmPayment()

fading nova
tough sand
#

Ohhh, what's the difference between confirmPayment() versus confirmCardPayment ?

fading nova
#

You use confirmPayment with a Payment Element instance. In the scenario you're describing, there'd be no Payment Element so you need to use the PM specific confirmation method depending on the type of the PM (i.e. card)

tough sand
#

Awesome! Thanks for your help.

fading nova
#

np

tough sand
#

By the way, how do you save PM to the customer? Since currently, I am getting the payment_method_id in subscription object.

fading nova
#

It should automatically be attached, you can confirm via that endpoint I shard

tough sand
#

Okay, thanks!