#ddbg

1 messages · Page 1 of 1 (latest)

frail compassBOT
lyric spade
#

Hi there

ocean torrent
#

Hello @lyric spade !

lyric spade
#

What integration are you using here?

ocean torrent
#

on the front side there are using the android and ios sdk

lyric spade
#

Okay then no it won't be set as the default

#

Are you working with Subscriptions here?

ocean torrent
#

yes with subs

#

but that's weird because all of our customers have their first PM tagged as default PM

lyric spade
#

Are you collecting the PaymentMethod when the Subscription is created or ahead of time and creating the Subscription later?

ocean torrent
#

the sub is created afterwards

lyric spade
#

Hmm can you provide me one of those Customer IDs that I can look at?

ocean torrent
#

yes sure

#

cus_OYdyjMfYp3MuBg

#

thank you!

lyric spade
#

Looking

ocean torrent
#

I'm not understanding what is source :/

lyric spade
#

source is the parameter that you are using to attach the Card Token to your Customer

#

Are you a developer?

ocean torrent
#

yes

#

I'm on the back side

#

but the thing is when the customer is adding a card (PM) from the front side, the front is not calling our API to update the user (your link from above)

lyric spade
#

Gotcha well this is your backend. The customer adds the Token (Card) on your frontend and then you pass that Token to your backend to attach to the Customer via the request I showed you.

ocean torrent
#

actually it's not the our process

lyric spade
#

Ah actually in this example that Card wasn't created on the frontend

#

Looks like that specific Card was created directly via your backend

ocean torrent
#

that's weird, we will do some other tests with the front to be sure, will keep you posted 🙏

#

one last question @lyric spade

lyric spade
#

Sure

ocean torrent
#

when there's a PM default update, are the subs (created with another PM) will charge automatically the new default PM or do we have to update the sub from the API?

lyric spade
#

They will use the new default PM unless you are explicitly setting a default PM on the Subscription itself

ocean torrent
#

ok perfect! Thanks a lot @lyric spade !