#sandrayoo-multiple-account-config
1 messages ยท Page 1 of 1 (latest)
Hello! Do you have a reqeust ID I can take a look at?
hi karbi! ๐ where would be the best place to find that?
You should be able to find that you in your request Logs in the dashboard (https://dashboard.stripe.com/test/logs?method[0]=post&method[1]=delete&direction[0]=connect_in&direction[1]=self)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Alternatively, if you have the Subscription ID that works as well
Ah, thank you! I do have this for now if that's alright? "<Stripe::Subscription:0x101bc id=sub_1OAfCkBEIZKO4QrAZtfHZmrB>"
This is what gets returned in the first line
That works! Give me a few minutes to take a look
cool thanks!
I took a look at that Subscription, and it doesn't look like you actually passed us a coupon on creation: https://dashboard.stripe.com/test/logs/req_RlfsvfNsdjB7lC
Thanks for taking a look! Regardless of whether a coupon gets passed, shouldn't the response have the discounts field?
Also, for some reason the link cannot find the req for me so I cannot see it ๐ฆ
No, if no coupon/discount was added to the Subscription we wouldn't populate discounts
oh i see! does that mean this documentation is incorrect? it looks like no coupon is passed but the response has a discounts field
Can you be specific about what's incorrect? As far as I can tell, our documentation here (https://stripe.com/docs/api/subscriptions/object#subscription_object-discount) mentions that we'll populate it if there is a discount
Describes the current discount applied to this subscription, if there is one.
in the documentation, the response shows the discounts field as discounts: [] .
in my particular case, I don't see a discounts: [] in the response body at all
in the request logs, were you able to see a discounts: [] in the response?
also i noticed the field says "preview feature" - what does this mean?
I don't see discounts in the response body for you request - just discount: null,
The "preview feature" means that this isn't something that's publicly available yet - it's only available for some users who can use that feature early
thank you for confirming!
ah ok, thank you! is there a way to make preview features work for tests? when we make the api call, it doesnt return preview features in the JSON response
this works properly in our dev environment, it is just for the tests
Are you using different accounts for your dev environment vs tests?
ah yes, we do.
That's probably the issue - your dev environment has been approved to use the feature, but the test account hasn't. You'll need to write into support (https://support.stripe.com/contact) and ask them to add it to your test account as well
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
ok sounds good, thank you for your help!