#vuongtran1102
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.
- vuongtran1102, 4 hours ago, 7 messages
Hi, my colleague had to step away, do you mind summarising your question?
Could you please share the webhook endpoint ID?
Wait few min
we_1OmBV8ADJEWOZSTnym9OaG2W
here my webhook id
when i trigger a payment, it's not call webhook
pi_3OmBVMADJEWOZSTn1OmHF1Ht the payment ID
the my webhook listening the event in the account connected to my apps
do is follow this, https://docs.stripe.com/stripe-apps/build-backend?public-private=public
How do I stand on the connected account to execute a trigger?
Sorry, my mistake. Please give me a moment to check...
ok, please update to me
This payment succeeded a few seconds after the webhook was created. Do you have any more recent attempts?
pi_3OmwSOADJEWOZSTn0XVkGjUM new payment i made now
๐ taking over for my colleague. Let me catch up.
the webhook endpoint you shared is a Connect Webhook
but the PI request you made to create the PI https://dashboard.stripe.com/test/logs/req_pFNjMA5vbl3O8N was on your own platform
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
so it's normal that the webhook endpoint wouldn't receive the event
So how do I made trigger so that my webhook can receive data?
you need to create a direct or a destination charge
Do not really undersand.
my config is true?
did you happen to add the stripe on your account?
how can i check it?
Hey! Taking over for my colleague. Let me catch up.
Could you please summarize the latest issue you are currently facing ?
๐ฆ
i'm building the Stripe app.
"permissions": [
{
"permission": "charge_read",
"purpose": "sample text"
},
{
"permission": "customer_read",
"purpose": "sample text"
},
{
"permission": "event_read",
"purpose": "Allows reading event data from users who have installed the app"
},
{
"permission": "payment_intent_read",
"purpose": "sample text"
},
{
"permission": "payment_intent_write",
"purpose": "sample text"
},
{
"permission": "checkout_session_read",
"purpose": "sample text"
}
],
the permission i request for app
What I want, when a user installs my app, and their account receives a payment, the Stripe system will send the payment data to my webhook.
pi_3OmwZzADJEWOZSTn0pvKfluM the payment i made with Stripe CLI
You have installed the Stripe App on what Account ? can you share it's id ?
You are creating a Charge on on this account acct_14is1hADJEWOZSTn it's not a connect Charge
What type of Charge you are using in your integration ?
I'm not understanding what you're saying.
acct_14is1hADJEWOZSTn here is id account i installed Stripe app
how can i check it?
How are you creating the payment ?
The issue is that you have a Connect webhook endpoint for the platform Account acct_14is1hADJEWOZSTn, which means you'll receive all webhook event from Connected Account to your main account acct_14is1hADJEWOZSTn.
However when you create a payment intent from stripe cli, you are creating it as a payment on the platform side and not the connect platform
That's why you are not receiving the event
Between, you want to accept payment from your Stripe App ?
I don't have that idea right now.
Can you please guide me to take the correct steps?
So why you are listening to the Connect Webhook for the event payment_intet.succeded ?
I need first to understand what you want to achieve from using Stripe App and webhooks first.
My idea, build a utility for user, user installed my app and when they receive a payment, the Stripe App collects data of that payment, and sends an email to the payer, to rate the service.
In order to get notified as a Platform Account about payment made on users (Connected Account) that installed your Stripe App, they need to accept payment using Connect Charges
for example Direct Charges
If not (leave the payment managment/integration for your customer/connect account) I'm not sure if it's achievable what you want to do actually.
So my configs are correct, can be tested and the webhook will only receive direct payments?
You need to create the payment as a Direct Charge
https://docs.stripe.com/connect/direct-charges Will the webhook only receive payments made like this?
Yes, because your webhook is a Connect one.
i have more question
Yes please.
The api key can i create by acct_14is1hADJEWOZSTn account or another account?
The account I am installed the app is acct_14is1hADJEWOZSTn
the API key key is the key of your platform account when using Connect, not the key of the connected account or the account that installed an app.
now i need made a direct charges with API key.
// Set your secret key. Remember to switch to your live secret key in production.
// See your keys here: https://dashboard.stripe.com/apikeys
$stripe = new \Stripe\StripeClient(''); => API key can i create by acct_14is1hADJEWOZSTn or another account?
$stripe->paymentIntents->create(
[
'amount' => 1000,
'currency' => 'usd',
'automatic_payment_methods' => ['enabled' => true],
],
['stripe_account' => 'acct_14is1hADJEWOZSTn']
);
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Okay
I'm confused between two types of accounts, platform accounts and connected accounts.
because when testing the Apps, I only use one account.
can you check the my account acct_14is1hADJEWOZSTn it's platform account?
yes it is
my account is platform account, now i need invite another account to install my app (another installed my app is connected account)?
I don't think so
so I will have to create another independent account
I think so, I'm not sure, I know very little about how to install and test Stripe Apps sorry.
Okay, thank you. can you set the thread to private, only support team and me, because it seems like I shared some sensitive pictures? and I will most likely need support in the future, so please do not close this thread.
we can't do that no, it's Discord it's all public
if you need 1-on-1 support please open a support ticket at https://support.stripe.com/?contact=true
Okay, so there's no need to set private, but please don't close this thread, as it's full of information, so I won't have to describe the problem again in the future.
sorry but it will get closed, it's how we work on this Discord server. You can always save the URL and come back and read it
what question exactly?
I'm in the process of reopening my other account, I lost my authentication app.
After I submit verification, how long will it take for my account to be completed?
i can't login to my account ๐
I took a photo of my citizen ID, took a photo of me and sent it.
no idea sorry, this is dev support
https://support.stripe.com/?contact=true can help with login issues
thank's