#D4reDev1l.

1 messages · Page 1 of 1 (latest)

warm lilyBOT
tulip hound
nocturne ermine
#

em

#

this is my current solution

#

is there a better way to do it?

tulip hound
#

This is the best way to do it. Is there anything that doesn't work well?

nocturne ermine
#

nothing

#

only I concern is I retrieve customer info and his payment info separately

tulip hound
#

can you explain more what you’re trying to do with retrieving customer and payment info separately?

nocturne ermine
#

sure

#

I want to show some basic info of customer, offer them to select payment method for subscription, show what they want to add to subscription.

tulip hound
#

I see! In this case, two separate retrievals will be required. Alternatively, you may save customer information in your own database instead of retrieving them from Stripe to save one retrieval

nocturne ermine
#

and add payment and add coupon(in the future) should be added and removed easily

nocturne ermine
tulip hound
#

Yup! I meant you may also save customer information such as name and email address in your database, so that no customer retrieval has to be made

nocturne ermine
nocturne ermine
#

so I only save cusId in it

tulip hound
#

You may also update them in your database in the future. If you wish to save all those customer information with Stripe, then two retrieval requests with customer and payment information will be required

nocturne ermine
tulip hound
#

Yup! That won’t be possible even with expand option