#muhammad-adnan_api

1 messages ¡ Page 1 of 1 (latest)

little scarabBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1430860246674313298

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

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.

hallow coral
jagged bluff
#

can you send me exact curl command for this setting

hallow coral
#

I can't, but shouldn't be too hard to figure out using the curl examples on the page

jagged bluff
#

ok

jagged bluff
#

still is is detuct the money next month but i want it ti charge the amount as soon as user update the subscription.

#

i set these parameters
--data-urlencode 'features%5Bcustomer_update%5D%5Ballowed_updates%5D%5B%5D=email'
--data-urlencode 'features%5Bcustomer_update%5D%5Ballowed_updates%5D%5B%5D=tax_id'
--data-urlencode 'features%5Bcustomer_update%5D%5Benabled%5D=true'
--data-urlencode 'features%5Binvoice_history%5D%5Benabled%5D=true'
--data-urlencode 'features%5Bsubscription_update%5D%5Bproration_behavior%5D=none'
--data-urlencode 'features%5Bsubscription_update%5D%5Benabled%5D=true'
--data-urlencode 'features%5Bsubscription_update%5D%5Bproducts%5D%5B0%5D%5Bproduct%5D=prod_SlHUrmj0ByBC4e'
--data-urlencode 'features%5Bsubscription_update%5D%5Bproducts%5D%5B0%5D%5Bprices%5D%5B%5D=price_1RpkvhL8iMN1J8cYWrqSWmEG'
--data-urlencode 'features%5Bsubscription_update%5D%5Bproducts%5D%5B0%5D%5Bprices%5D%5B%5D=price_1RpkvhL8iMN1J8cY5KWpHoQV'
--data-urlencode 'features%5Bsubscription_update%5D%5Bproducts%5D%5B1%5D%5Bproduct%5D=prod_SlHXLjxzacarj6'
--data-urlencode 'features%5Bsubscription_update%5D%5Bproducts%5D%5B1%5D%5Bprices%5D%5B%5D=price_1RpkzpL8iMN1J8cYuhXA9ZvT'
--data-urlencode 'features%5Bsubscription_update%5D%5Bproducts%5D%5B1%5D%5Bprices%5D%5B%5D=price_1RpkzpL8iMN1J8cYKKrfzDRU'
--data-urlencode 'features%5Bsubscription_update%5D%5Bproducts%5D%5B2%5D%5Bproduct%5D=prod_SlHRsuko6ccJDO'
--data-urlencode 'features%5Bsubscription_update%5D%5Bproducts%5D%5B2%5D%5Bprices%5D%5B%5D=price_1RpkstL8iMN1J8cYy0aouVbZ'
--data-urlencode 'features%5Bsubscription_update%5D%5Bproducts%5D%5B2%5D%5Bprices%5D%5B%5D=price_1RpkstL8iMN1J8cYppK2vd6g'
--data-urlencode 'features%5Bsubscription_update%5D%5Bdefault_allowed_updates%5D%5B%5D=price'
--data-urlencode 'features%5Bsubscription_update%5D%5Bdefault_allowed_updates%5D%5B%5D=promotion_code'
--data-urlencode 'features%5Bpayment_method_update%5D%5Benabled%5D=true'

hallow coral
#

What's the ID of the portal session (bps_xxx)?

#

Is this update to a price of the same interval? e.g. monthly -> monthly

jagged bluff
#

yes it is monthly to monthly but plan is updating from bronze to silver

hallow coral
jagged bluff
#

bps_1SLMA7L8iMN1J8cYHcVCa2wX

#

this is my session id

hallow coral
#

Thanks. I understand the ask now and unfortunately what you want to do is not supported today in the portal. The default behaviour is to only charge immediately when the interval changes. I'll relay your feedback with the product team