#agas_code
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/1351552981190840411
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hey there, are you following any doc or example you can share?
Hello, my colleague has to step out but I am looking into this. One thing I am curious about is if you are entering the full card number, for similar events I think they only fire when there is a full card number in the field
Yes, I enter the full test number 4242 4242 4242 4242, but the event should be triggered every time a number is entered
Can you link me to the doc page that says that? I was having trouble finding that specified
And to be clear, it does fire on the full number, just not partial ones?
Gotcha, the reason I am not sure about this is that for our Stripe.js equivalent, it is only expected to fire when the complete field changes, which indicates whether there is a full card number or not in the card element
https://docs.stripe.com/js/element/events/on_change?type=cardNumberElement#element_on_change-handler-complete
the event does not trigger at all․ i use react-native
This link has problems similar to mine
Gotcha, thanks for the info. And as far as you know is this on Android, iOS, or both for you?
Ah this issue mentions that there was a fix in 0.43.0
https://github.com/stripe/stripe-react-native/pull/1820
Can you try upgrading to that version and see if that fixes it?
I'm trying it on antroid now. I can't say anything about IOS.I already updated to version 0.43.0 but it doesn't work
Gotcha, unfortunately if that version isn't working for you I am not seeing other fixes or workarounds. I think the best next step would be for you to comment on that issue and say that you tested in 0.43.0 and it is still not working.
just tried the latest version it doesn't work either
My task is to add a card in order to make a payment after the service is provided. Are there any other options for adding cards in React-native?
There is the PaymentSheet which can also collect PM info. Can you tell me more about what you are trying to do and what the onChange event is blocking for you?
I need to get "payment_method" to connect to the client for further work. You can send the documentation to PaymentSheet?
can i use this to save the client card so i can make a payment later without the client?
will also give me this "payment_method" ?
I don't want to write off money when adding card
Yes, though you'd have to set one extra field with that flow. Are you taking a payment upfront and saving the PM or are you just saving with no payment upfront?
This is the guide if you aren't taking any payment upfront https://docs.stripe.com/payments/mobile/set-up-future-payments
I want to save the payment method so that the money is automatically charged from the customer after the delivery of the goods.
Hi hi! I’m going to be taking over for my colleague here. The link they sent sounds like the approach that matches your needs.
HI! yes i looked at the documentation and will try this, can i continue here if something goes wrong, thank you very much for the answer