#bytecrafter_best-practices
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/1376839934685614110
๐ 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.
- bytecrafter_docs, 6 days ago, 54 messages
Hi Mubarak,
Thanks for reaching back. I understand the importance of enabling application_fees.read and webhook_endpoints.write on your Stripe account. Let me assist.
Upon checking, you can enable this in the Restricted Keys section of your Dashboard on this page:
https://dashboard.stripe.com/apikeys
You can then search for these two options and enable them to your liking. You will also be able to enable other keys. You can check this page for more information about restricted keys:
https://docs.stripe.com/stripe-apps/api-authentication/rak
https://docs.stripe.com/keys#create-restricted-api-secret-key
I hope this information helps. Please let me know if you have further questions.
this message was forwared on email by stripe support, but
in our use case using restricted keys directly will be a hassale for users during the onboarding flow,
https://marketplace.stripe.com/apps/revenew
there are apps like this on market place who use the webhook_modify permission directly ingrained into the app and we are looking for something similar.
๐
Have you tried to grant webhook.* permission via your Stripe Apps ?
https://docs.stripe.com/stripe-apps/reference/permissions#webhook
{
"id": "fluxmap.dev.env",
"version": "0.0.7",
"name": "Fluxmap Dev",
"icon": "./logo.png",
"permissions": [
{
"permission": "connected_account_read",
"purpose": "Read connected account information to identify merchant details"
},
{
"permission": "webhook_read",
"purpose": "Subscribe to payment events"
},
{
"permission": "webhook_write",
"purpose": "Modify webhook endpoints"
},
{
"permission": "user_email_read",
"purpose": "Access user email information"
},
{
"permission": "event_read",
"purpose": "Subscribe to payment events"
},
{
"permission": "application_fee_read",
"purpose": "Application fee analytics"
},
{
"permission": "balance_transaction_source_read",
"purpose": "Fee breakdowns"
},
{
"permission": "charge_read",
"purpose": "Show sales fees"
},
{
"permission": "payment_intent_read",
"purpose": "Access payment intent data"
},
{
"permission": "transfer_read",
"purpose": "Payout analytics"
},
{
"permission": "invoice_read",
"purpose": "Access invoice data"
},
{
"permission": "subscription_read",
"purpose": "Access subscription data"
},
{
"permission": "report_runs_and_report_types_read",
"purpose": "Generate and access reports"
},
{
"permission": "file_read",
"purpose": "Access file data"
}
],
"connect_permissions": null,
"allowed_redirect_uris": [
"https://79b5-2400-1a00-b040-bbcc-fdfc-b784-da7c-8123.ngrok-free.app/api/auth/stripe/callback"
],
"stripe_api_access_type": "restricted_api_key",
"distribution_type": "public",
"sandbox_install_compatible": true
}
yeah this is my stripe-app json file
but i got Request failed, status=400, body={
"error": {
"message": "9:requesting webhook_write permission is disallowed",
"type": "invalid_request_error"
}
}
while uploading
Ah true, you need to reach out to Stripe Support to study your case first and why you need webhook write permisison as mentioned here:
https://docs.stripe.com/stripe-apps/reference/permissions#webhook:~:text=If you still need webhook_write%2C contact Stripe Support.
Please reach out via support.stripe.com in order to onboard your Account/ Stripe App for sing webhook write permission
Is there a support email that i can directly write to? support.stripe.com doesn't provide the details to chat with representative.
You need to use the chat within that support page, and you'll be redirected via email later:
support.stripe.com/contact