#victory_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1357693649324085480
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- victory_webhooks, 1 minute ago, 22 messages
- victory_webhooks, 20 hours ago, 55 messages
- victory_webhooks, 22 hours ago, 25 messages
- victory_issuing, 1 day ago, 78 messages
Hello
Hi again
On stripe side issuing_authorization.request is sent
Then issuing_authorization.updated request
Then issuing_authorization.created request
right?
issuing_authorization.request is the webhook notification you should respond to to approve/reject the authorization.
I want to approve or reject when I receive issuing_authorization.updated
Because when I receive issuing_authorization.request the balance is always 0
So I coundn't decide
How can I get issuing_authorization.updated request
Now I get only issuing_authorization.request and issuing_authorization.created request
What balance?
I mean amount
approve/reject is only done on issuing_authorization.request, not any other event type
Could you please share an example Event ID?
Could you please copy and paste the Event ID?
It's in the pending_request.amount: https://docs.stripe.com/api/issuing/authorizations/object#issuing_authorization_object-pending_request-amount
Ah ok thanks
One more question
After it is approved why I can't receive issuing_transaction.created request
It's remaing with pending
Receive where?
What do you mean by "remaining with pending"?
It seems like the request was not approved successfully, so the transaction didn't go through.
ah one more question
How to approve when I receive request
$stripe->issuing->authorizations->approve($authorization->id, []);
This is my code and I can see this error now
"Unrecognized request URL (POST: /v1/issuing/authorizations/iauth_1RA9jVG1afQmztKR21wMroUn/approve). Please see https://stripe.com/docs or we can help at https://support.stripe.com/. (Hint: The feature you are trying to use is deprecated.)",
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
In php how to approve when I get issuing_authorization.request request
I have answered that in the previous thread:
$stripe->issuing->authorizations->approve() is a deprecated method of approving.
You should just respond to the webhook request with ['approved' => true] https://docs.stripe.com/issuing/controls/real-time-authorizations?lang=php
Does it work?
Let me try with this
I am nor sure
Can you share the new event ID for that authorization request?
You need to include a Stripe-Version header in your response
Could you please send me sample one on php?
The example just below includes this
Sample php code for approve response
ok let me try now
This is version?
stripe version?
or I have to remove acacia?
Now it's ok
But why it's pending always?
Can you share the latest auth event ID again?
Yep, that looks like you successfully responded to approve it
Yes I think so but why I can't get issuing_transaction.created request for this
Because you havent captured it yet: https://docs.stripe.com/issuing/testing?testing-method=without-code#without-code-create-test-capture
After authorization is approved, you need to create a capture
Please read the Testing docs completely, they show the entire sequence
You can do this in the dashboard, as shown, or via the API test helpers:
stripe->testHelpers->issuing->authorizations->capture(
'{{AUTHORIZATION_ID}}',
[]
);
This is for only test mode?
On production it is no needed?
In a live scenario it would depend what the other party is doing, when/how they capture the payment
but mostly yes, this is onyl something you need to do in test mode. In live mode this is out of your control.
I mimite that user use my issuing card
So in this case I have to call this after approve autorization?
yes
ok let me try