#sagar_88536

1 messages · Page 1 of 1 (latest)

silver sparrowBOT
mellow swallow
#

Hey, can you share an example evt_xxx ID?

indigo orbit
#

currently i am testing in the development/ test environment and i am certainly not getting any of it

mellow swallow
#

How are you receiving/forwarding webhooks to your endpoint(s)?

indigo orbit
#

{
id: 'evt_3OaESRIaeDnhssNw2YL4Z7Ma',
object: 'event',
api_version: '2022-11-15',
created: 1705656831,
data: {
object: {
id: 'pi_3OaESRIaeDnhssNw2NUPdzqs',
object: 'payment_intent',
amount: 400,
amount_capturable: 0,
amount_details: [Object],
amount_received: 400,
application: null,
application_fee_amount: null,
automatic_payment_methods: null,
canceled_at: null,
cancellation_reason: null,
capture_method: 'automatic',
client_secret: 'pi_3OaESRIaeDnhssNw2NUPdzqs_secret_hz9QhoKmxB9CnVyaZCn5eAs2o',
confirmation_method: 'automatic',
created: 1705656831,
currency: 'sek',
customer: 'cus_Oa70jbud1xCKw9',
description: 'ordered food',
invoice: null,
last_payment_error: null,
latest_charge: 'ch_3OaESRIaeDnhssNw2zqzY9WW',
livemode: false,
metadata: {},
next_action: null,
on_behalf_of: null,
payment_method: 'pm_1OXiO0IaeDnhssNwjvnKOwZr',
payment_method_configuration_details: null,
payment_method_options: [Object],
payment_method_types: [Array],
processing: null,
receipt_email: null,
review: null,
setup_future_usage: null,
shipping: null,
source: null,
statement_descriptor: 'EU DIZITAL',
statement_descriptor_suffix: null,
status: 'succeeded',
transfer_data: null,
transfer_group: null
}
},
livemode: false,
pending_webhooks: 2,
request: {
id: 'req_6hwfkDxVN2bqdw',
idempotency_key: '1f30b0b7-d0f9-43eb-8815-870971fffc6f'
},
type: 'payment_intent.succeeded'
}

#

this is my web hoook response

#

and there is no account id

mellow swallow
#

Ok, looks like you're using the CLI?

indigo orbit
indigo orbit
#

is there any other method ??

mellow swallow
#

That way you can install it on a different account, and the events should include the account field

indigo orbit
#

i already made a test install
still the webhook part i am not getting the account

mellow swallow
#

And you're using the app and triggering the actions in the app on the test account you installed it on?

#

It should be a different account to the one you're publishing/developing from

indigo orbit
#

yes

#

can you send a object or any reference documentation for it

mellow swallow
#

For what?

indigo orbit
#

of getting the account

mellow swallow