#DaganChen

1 messages · Page 1 of 1 (latest)

dense wraithBOT
spark kiln
#

Where do you see this from?

grizzled venture
#

Sec

#

I need something else before

#

please take a look

spark kiln
#

It is possible that the refund can be async for credit card in the rare scenarios: https://stripe.com/docs/refunds#failed-refunds

A refund can fail if the customer’s bank or card issuer has been unable to process it correctly. For example, a closed bank account or a problem with the card can cause a refund to fail. When this happens, the bank returns the refunded amount to us and we add it back to your Stripe account balance. This process can take up to 30 days from the post date.

#

This usually occurs when card issuer only notifies Stripe some time later after processing failures

grizzled venture
#

okay

#

I'm the main account,
some are connected to me
and their users payment_intent

#

on test I used method pending to success in 3 min

spark kiln
#

Is there any problem you're facing?

grizzled venture
#

pi_3MqWdaFrv2nk53su0fAoirOq

#

pi_3MqWe8Frv2nk53su1rJtMW90

#

I didn't get the callback

#

I used this one

#

DE08370400440532013003 The PaymentIntent status transitions from processing to succeeded after three minutes.

spark kiln
grizzled venture
#

is my webhook not good?

#

whats the proper event type

spark kiln
#

pi_3MqWdaFrv2nk53su0fAoirOq was performed on the account acct_1JJfqHFrv2nk53su itself, and not connected account. You should have a Webhook endpoint for events on the account itself

grizzled venture
#

okay

#

I can edit webhook or needs to create new one?

dense wraithBOT
orchid frost
#

You'll need to great a new webhook in this instance. That parameter is immutable

grizzled venture
orchid frost
#

What's the question?

grizzled venture
#

what should I choose

orchid frost
#

You likely want to use the API version that your account and integration are using (2020-08-27) to prevent any potential issues

grizzled venture
#

okay

#

I have made this one

#

expected to see this one

#

pi_3MqXkBFrv2nk53su1HCXfDsO

#

nothing is firing

#

why?

orchid frost
#

we_1MqXbkFrv2nk53suQ5lMtLJC is a live mode webhook. That payment is in test mode

#

Webhooks only listen for events in the environment they're created in

grizzled venture
#

oh damn

#

how can I test it on prod?

#

it works for me in test mode

#

I can add the same api on test mode?

orchid frost
orchid frost
grizzled venture
#

alright, then for my account it will work for tests and other prod

#

great

#

oh

#

my Signing secret
will be different

#

crap

#

anyhow

#

I want to see that it atleast triggering

#

Waiting for events…

#

pi_3MqXutFrv2nk53su0ZNGKxam

#

that one should been fire

#

is it the secret?

orchid frost
#

What's the we_xxx ID?

grizzled venture
#

we_1MqXtHFrv2nk53suZoYvtVDY

#

I now see I got them

#

great

#

Exception: Stripe\Exception\SignatureVerificationException: No signatures found matching the expected signature for payload in /var/www/html/vendor/stripe/stripe-php/lib/Exception/SignatureVerificationException.php:28

orchid frost
#

Yep, you're likely using the wrong whsec_xxx