#bensontrent_unexpected
1 messages ¡ Page 1 of 1 (latest)
đ 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/1334990830162673675
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I just thought of this...my API keys are very old. Perhaps I could try reissuing my Secret and Public API keys?
Hi there. Do you have the ID of the Invoice handy?
Sorry, no, that's not true. My API keys are new. I was thinking of another Stripe account.
in_1OztjrRqTjVjlW7k08m9CGI0
This only affects live mode. I'm able to create hosted invoice urls on test mode.
Here's a test mode invoice on the same account that works: https://invoice.stripe.com/i/acct_1Om0V7RqTjVjlW7k/test_YWNjdF8xT20wVjdScVRqVmpsVzdrLF9SZ3A1Y2hDTEw2eWxYd0E0cWd2MmcxTWdDcFcwVDdWLDEyODg5ODQ4Mw0200kI5VsBTN?s=db
Working test mode invoice is in_1QnRRERqTjVjlW7kv5YAbJpg on acct_1Om0V7RqTjVjlW7k
thanks, looking. To be clear, it looks like you're creating this from the dashboard with the Stripe app (acct_1B66B1ExfkC84dni / ca_PpX0XBPdZL4ouDuKNf5hDwW0rmJvZ6oi ) rather than the platform account that owns acct_1Om0V7RqTjVjlW7k. Could you tell me more about what the intent or role of the Stripe app is?
I'm using this account as acct_1Om0V7RqTjVjlW7k since it is a child of Simpler Postage DBA EasyPost. I wanted to create this as a child account so I could accept payments for shipping label costs as part of the EasyPost platform. I don't yet have this functionality in place. And since our app in in beta, we are not yet billing for the app. Our app can be found at https://marketplace.stripe.com/apps/parcelcraft-shipping Currently we ask users to connect to their EasyPost account through our APP to charge for shipping costs, but it is forseeable that we will become a white-label partner for EasyPost, and we'll be able to create payment methods that EasyPost will have access to handle billing costs. So we'll be accepting payment for two purposes: 1 to charge for access to the app and 2) to pay for shipping label costs that will be redirected to EasyPost.
Since we've not yet created paying customers in this type of account, I'm not married to using this account id to bill for app subscription fees.
Gotcha, and thanks for the detail
Did you try updating the Stripe app's permissions to invoice_write and invoice_read like we document for the Hosted Invoice Page here: https://docs.stripe.com/stripe-apps/reference/permissions#invoice
The Stripe app is published from a different account (acct_1B66B1ExfkC84dni) Let's call this our Parcelcraft App account. This is unrelated to the account we'll be using to bill for the app-- Let's call this the Parcelcraft EasyPost account (acct_1Om0V7RqTjVjlW7k). I'm using the Parcelcraft EasyPost account to to give access to EasyPost to our payment methods. The permissions outlined in the app guidelines are permissions given the Parcelcraft App account to give it access to anyone who installs the app. Extending those permissions from our Parcelcraft App account to the Parcelcraft EasyPost account would be inappropriate. The app permissions are entirely unrelated to our Parcelcraft EasyPost account. Our app is a Platform connected account and not OAuth. All users who install the app become connected accounts to the Parcelcraft App account.
I suspect the error on the hosted invoice url for the Parcelcraft EasyPost account is due to a permissions issue with the connected account. Should I contact EasyPost? And what would I ask them to change about my connected account?
And to answer your question directly, we have both invoice_write and invoice_read permissions set in the app.
According to the data I have, in livemode, Parcelcraft (acct_1B66B1ExfkC84dni) only has invoice_write for acct_1Om0V7RqTjVjlW7k, not invoice_read
still digging into this
Thank you!
Ok I see the confusion here. acct_1Om0V7RqTjVjlW7k has two parent connected accounts. One for the app and one for EasyPost. Let me remove the app from acct_1Om0V7RqTjVjlW7k to clear up the confusion.
In Stripe, in_1OztjrRqTjVjlW7k08m9CGI0 was created by acct_1B66B1ExfkC84dni, which is the Stripe app and I think that something about the permissions configuration on the App is the reason why the Hosted Invoice Page doesn't work. The testmode Invoice you supplied was created by the connected account on itself and the app didn't play a role
Ok. I create a new invoice in live mode. The hosted_invoice_url is working. This is confusing since both invoices were created in the dashboard.
Both hosted_invoice_urls are working now. I'll reinstall the Parcelcraft app and see if the bug returns.
The hosted_invoice_urls work after installing the app.
Something changed. Let's consider this fixed.
Thank you for your help!