#asghar7978
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- dahri-webhooks, 2 hours ago, 41 messages
howdy
what are you having trouble with?
only one event is being set in request body
Can you explain some more about what you're expecting?
Each event is a separate request to your endpoint
evt_1OQFIXClEq3LQAa9LbTboHKG
Please see this event, im only seeing and getting customer.subscription.created
event on server and dashboard while i want to recieve customer.subscription.updated as well.
tho i have added in webhook event but could not getting it on server, not being shown on dashboard as well
and please help me if i have config the webhook incorrectly.
It looks like you have, but no such events have been produced yet for your endpoint to receive
You'd get customer.subscription.updated when a subscription renews at the end of the cycle, or you change it in some way, for example
but locally on test mode whenever i checkout the webhook calls and event customer.subscription.updated gets called.
i'm trying to update the subscription like upgrading the subscription.
?
there
Yep, looking at things
oh alright, i just text so it dont get close
Ok, this is because you live mode usage is not the same as your test mode usage
In live mode you're using a 100% off coupon, so there is not payment required. The subscription is created with status=active directly
While in your tests you use no such coupon/discount, and the first invoice requires payment. The subscription then is created as status=incomplete until that payment succeeds, then is updated to status=active
That's why you get the event in test mdoe but not live mode
Checking out in live mode without a discount I expect will produce the same event
Similarly, if you test with a 100% discount in test mode you won't get the event
let me just check it within 1 minute
please wait
please
how i have to create the coupon code in product catalog can you please share?
What do you mean?
highly highly appreciated.
i did this long ago in test mode.
This current live mode was created by co developer
there was some way on dashboard product catalog but im unable to see now
So i tested this you are so much accurate, really nice. Now i want to know how to enable the webhook event subscription.customer.updated if its 100% coupon
You don't, the subscription is not updated at that point
you'll get that later when the subscription renews, though, or you can update it manually
update it manually means?
from strip dashboard?
Or using the API, or the customer portal
any update to the subscription would trigger that event
do i have to use the a card and make the transaction to test the live mode?
and why the webhook is called when the promo code is created?
You shouldnt test in live mode, i'm just desribing how event will happen when customers use it
Pardon? Can you share an example of what you mean?
so i just now created a promotion code in coupon and it called the webhook api in backend. why it was called?
What do you mean? Can you share a request / event/ object ID showing what you're seeing?
let me share it somehow
the moment i created promotion code the backend webhook api called.
alright. will make a coupon for 99% and check the live mode. btw "you are Savior"
tysm again.
how to contact you again? is this possible?