#mataxaxa-payments

1 messages · Page 1 of 1 (latest)

idle jacinth
#

@lunar crown I'm not sure I follow but this seems more like something to investigate with WooCommerce? Did you write the integration code yourself?

#

I'm not sure what you mean by "Some people do not return to the webhook endpoint", since users don't go to your webhook endpoint(Stripe's servers send a request to it and we retry that multiple times so it should work), so there's possibly some confusion there.

#

I'm going to delete that link since clicking it might complete a live mode payment, but following you so far

lunar crown
#

Is there a way to automatically charge payments with the status chargeable?

idle jacinth
#

well if the payment has that status it is not chargeable

#

visiting that link means 3D Secure needs to be completed

#

i.e. the customer needs to authenticate the payment with their bank, so they are not finished yet

#

ah this is iDEAL

lunar crown
#

Yes this is iDEAL

#

Sorry for not informing

idle jacinth
#

from May of this year?

lunar crown
#

Yes

idle jacinth
#

hmm. And it's still a problem today?

lunar crown
#

I can test it.

#

I was wondering cause i am making a new store, if i should put more events to listen to the webhook endpoint

#

Cause right now i only have charge.captured selected

idle jacinth
#

ultimately if you don't write the actual code there's not much I can help you with(this channel is for developer support using the API directly).
The way this works anyway is you create a Source in the API, redirect the customer to iDEAL, and when the customer has completed the payment, Stripe sends you a source.chargeable webhook event. Your server listens to that event and automatically completes the payment by calling the API

#

yes you need source.chargeable I would assume

lunar crown
#

Wow karl thank you so much

#

I will have a look into this and do some futher testing cause i know how i can make this problem occur. It's by paying and then exiting the mobile app, so you never go back to the website

idle jacinth
#

yep, that is really common

#

which is why you generally use webhooks, since you can't gurantee the customer returns to your site after paying

lunar crown
#

Maybe if i add all the events the problem gets fixed

idle jacinth
#

instead you have your server listen to an event Stripe sends it in the backend to complete the payment

#

sounds like you just don't have the endpoint set up to listen to the required events to be notified of that

lunar crown
#

I understand now, well i am gonna add those events to listen to and do some more tests to see if it succeeds 😄

#

Thankyou Karl!