#mrmole - issuing
1 messages · Page 1 of 1 (latest)
What are you trying to do exactly?
To do this i think i need to about the amount in authorization object.
Can you rephrase? I think there is a word missing there.
ah yes sorry, To to this i tihnk i need to update the amount in authorization object
If the authorization is marked as is_amount_controllable then you can approve the authorization request with a new amount:
https://stripe.com/docs/api/issuing/authorizations/approve#approve_issuing_authorization-amount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Set what?
right now i am in test mode
and all i can do is trigger issuing_authorization.request
by stripe-cli
and then bunch of events are triggered
i am not quiet sure how flow would be from client to server
Client insert card number press "pay" the data goes specific endpoint and there is creation of cardholder and card right?
Do you have example of issuing on server side? Preferable Node.js. RIght now i am playing with example server which is provided with react-native-stripe repository
You can't set this explicitly, its a property of the authorization request
We have snippets in the docs: https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling
and an example full integration here:
https://github.com/stripe-samples/issuing
Node server: https://github.com/stripe-samples/issuing/blob/main/approve-authorization/server/node/server.js
i have code like that
as i can see this line is important
res.json({received: true});
Yes you need to respond to the webhook event, and quickly.
Issuing requests need a response wihtin 2 seconds, if i recall correctly
all right, i need to play with it more as i can see 😄
Thanks so much for help and very quick response!!!
I really appreciate this support ❤️