#stripe_connect_platform4242
1 messages ยท Page 1 of 1 (latest)
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.
- stripe_connect_platform4242, 22 hours ago, 22 messages
You can use customer portal session links: https://docs.stripe.com/api/customer_portal/sessions/create
That won't require verification
Just because you CAN doesn't mean you SHOULD
My issue is that the use case is where the person is NOT logged in
So it could be a bot sending me an email and I don't want to let the bot cancel the subscription or update a cc
It would be hard for a bot to guess an email address that happens to be an actual customer's email but possible so I don't want to open customer portal for the bot and expose the ability to cancel or update a cc etc.
So if you are recommending that which I feel is unsafe, I guess you are saying if I take the extra step to verify with my own flow, that would be OK.
There's not a way to do what you want. Either do the email verification or manage a log in with your app + creating customer portal session via our api
yes you'd need verification in your own flow
OK. Got it.
One more question. Someone Oauths and connects their Stripe account. I want to pull their logo and brand colors. I did it about a year ago by looking at their Account, but was told that was wrong. Is it possible currently to pull the connected account's "Brand Settings" colors and logo?
I did it about a year ago by looking at their Account, but was told that was wrong
Wait why is that wrong?
koopajah said that it was not really stored there and that although it technically worked, that they were moving it somewhere else - not on the Account object. ????
Ah ok let me check
Let's see. I cannot totally recall. One issue was that you guys didn't have a test and live version. That was one thing. You only have a live version and although in the UI it seems to the Stripe customer in the dashboard that they are updating Brand Settings in test, that you have/had a glitch in Brand Settings where they are/were only stored in LIVE
that was one issue, so I passed in a test key and it would fail. That was a weird glitch. Is that still the case? The other was something else - like you were going to move it to a different object and not Account. I am trying to rememebr
AFAIK the only place it's still surfaced is on the account object. You said this was a year ago?
about a year ago ish. my memory is not so great
OK, so it is fine to pull Brand Settings from the Account object? Did you fix the issue with test/llive or is it still there? Are there test key Brand Settings available with a test key or are Brand Settings really only live key availlable?
Let me ask a colleague because I wasn't aware of this restriction that koopajah mentioned
ok
yeah, it's a subtle issue
I have another question. If a customer of a connected account says "I am doing my taxes and want to get receipts for all my 2023 payments" and I look up subscription and one-time payments. Is there a way I can send them a list of all with a link for each payment to get ('download") the receipt? Instead of sending them x emails to the email associated with the account (i.e. one email for each payment receipt)? Is there a download link for receipts on the object?
hello?
Apologies server is very busy, we are still looking in to your original question. there are links to invoice PDFs and receipt webpages but no download receipt URL unfortunately. Finding the APi ref entries for this
https://docs.stripe.com/api/charges/object#charge_object-receipt_url
https://docs.stripe.com/api/invoices/object#invoice_object-invoice_pdf
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
๐ Stepping in for my teammate!
@valid minnow on your branding question, could you share some context on why you want to pull these brand settings?
Did you fix the issue with test/llive or is it still there?
Brand settings can still only be updated/accessed in live mode
On my Stripe Connect app we were hosting a login page for our connect's account's customers to log in. We wanted it to match their brand settings similar to how the Stripe hosted Customer Portal page but for login so we wanted it to match their brand settings and then they could update the colors but the default would be their brand settings colors
Brand settings can still only be updated/accessed in live mode. OK, got it. I think we had to code it to pass in the test key and catch a failure and then try the live key or some hack like that. OK, Good to know it is still the same way.
Sorry, one last question. Customer says "Send me all my payment for 2023 for taxes"
Yep, taking a look at the last question
If I look up Charges, will I get one-time and subscriptions or do I have to get Charges and Invoices both? Or do Invoices create Charges so just looking up Charges is sufficient to satisfy "Send me all my payment for 2023 for taxes"
If they just have subscriptions, I can send them to Customer Portal, but if they have one-time payments as well, I need to list them out
Yep, that's correct, since the portal will only list subscription invoices and one-time invoices (if created)
So when I list all Charges, what is the logic to see if the charge was for a subscription? I
**portal does NOT show one-time invoices
or am i wrong?
portal only shows invoices, no?
"one time charges do not create invoices, no?
One time charges do not automatically create invoices. The portal does show one-time invoices (e.g. if a Checkout Session was created with invoice_creation.enabled: true)
oh, interesting. I have to check. since we are connect, we have many customers who might do it with invoice_creation.enabled: true or maybe not so we have to code for all possible scenarios. ๐ญ
So if I get all Charges, is there a way to see if each charge was associated with a sub? If yes, I will send them to Customer Portal, if no, I will list them all with links to view receipts
One way you could do this is look at whether the Charge has an invoice value. You can expand invoice to see if subscription is null or not
Happy to help!
OK, back to coding! Thank you!!!!!