#vuongtran1102

1 messages ยท Page 1 of 1 (latest)

visual hazelBOT
#

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.

lime geode
#

Hi, my colleague had to step away, do you mind summarising your question?

mystic dust
#

My webhook is listening webhook

#

We are talking about this

lime geode
#

Could you please share the webhook endpoint ID?

mystic dust
#

Wait few min

#

we_1OmBV8ADJEWOZSTnym9OaG2W

#

here my webhook id

#

when i trigger a payment, it's not call webhook

#

pi_3OmBVMADJEWOZSTn1OmHF1Ht the payment ID

lime geode
#

The endpoint type should not be "Connect".

#

Yes, and it should be Account.

mystic dust
#

How do I stand on the connected account to execute a trigger?

lime geode
#

Sorry, my mistake. Please give me a moment to check...

mystic dust
lime geode
mystic dust
#

pi_3OmwSOADJEWOZSTn0XVkGjUM new payment i made now

visual hazelBOT
oak current
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

#

the webhook endpoint you shared is a Connect Webhook

#

so it's normal that the webhook endpoint wouldn't receive the event

mystic dust
oak current
#

you need to create a direct or a destination charge

mystic dust
#

my config is true?

oak current
#

did you happen to add the stripe on your account?

mystic dust
young folio
#

Hey! Taking over for my colleague. Let me catch up.

#

Could you please summarize the latest issue you are currently facing ?

mystic dust
#

๐Ÿ˜ฆ

#

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

young folio
#

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 ?

mystic dust
#

I'm not understanding what you're saying.

#

acct_14is1hADJEWOZSTn here is id account i installed Stripe app

mystic dust
young folio
#

How are you creating the payment ?

mystic dust
#

i made by Stripe CLI

#

stripe trigger payment_intent.succeeded

young folio
#

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 ?

mystic dust
mystic dust
young folio
#

So why you are listening to the Connect Webhook for the event payment_intet.succeded ?

young folio
mystic dust
young folio
#

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

visual hazelBOT
young folio
#

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.

mystic dust
young folio
#

You need to create the payment as a Direct Charge

mystic dust
young folio
#

Yes, because your webhook is a Connect one.

mystic dust
#

i have more question

young folio
#

Yes please.

mystic dust
#

The api key can i create by acct_14is1hADJEWOZSTn account or another account?

quartz pine
#

sorry, I don't understand what that means.

#

can you rephrase it?

mystic dust
#

The account I am installed the app is acct_14is1hADJEWOZSTn

quartz pine
#

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.

mystic dust
#

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']
);

mystic dust
#

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?

quartz pine
#

yes it is

mystic dust
#

my account is platform account, now i need invite another account to install my app (another installed my app is connected account)?

quartz pine
#

I don't think so

mystic dust
#

so I will have to create another independent account

quartz pine
#

I think so, I'm not sure, I know very little about how to install and test Stripe Apps sorry.

mystic dust
#

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.

quartz pine
#

we can't do that no, it's Discord it's all public

mystic dust
#

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.

quartz pine
#

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

mystic dust
#

Okay

#

thank's

#

more question for login my another account

quartz pine
#

what question exactly?

mystic dust
#

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.

quartz pine
#

no idea sorry, this is dev support

mystic dust
#

thank's