#DaganChen
1 messages · Page 1 of 1 (latest)
Where do you see this from?
I found where this is from: https://stripe.com/docs/testing#refunds
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
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
Is there any problem you're facing?
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.
Which event are you looking for pi_3MqWdaFrv2nk53su0fAoirOq?
I can see them sending here:
payment_intent.processing- https://dashboard.stripe.com/test/events/evt_3MqWdaFrv2nk53su03Be2zRbpayment_intent.succeeded- https://dashboard.stripe.com/test/events/evt_3MqWdaFrv2nk53su0Qu5kr8H
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
You'll need to great a new webhook in this instance. That parameter is immutable
What's the question?
what should I choose
You likely want to use the API version that your account and integration are using (2020-08-27) to prevent any potential issues
okay
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I have made this one
expected to see this one
pi_3MqXkBFrv2nk53su1HCXfDsO
nothing is firing
why?
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
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?
You don't test in production. You build your integration to work in test mode, and then once ready to go live you make the necessary changes (API keys, etc) for the switch to live
Yes, you can create webhooks in test mode. Just flip the toggle in your Dashboard
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?
What's the we_xxx ID?
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
Yep, you're likely using the wrong whsec_xxx