#karuppasamy

1 messages · Page 1 of 1 (latest)

compact spadeBOT
grand creek
#

Hi 👋 that is expected behavior. Stripe does not automatically de-duplicate Customer objects based on provided details. If you want to have de-deuplication logic, then you will need to build that.

grand token
#

oh then how can i find which customer subscribe particular plan

grand creek
#

I'm not sure what you're trying to ask, I'm going to need more context than that.

grand token
#

currently i am using pricing table when i click the subscribe it will redirect to checkout page

here can i set email id?

#

by default

grand creek
grand token
#

<div style="border: 1px solid#d9d9d9; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);">
<stripe-pricing-table style="background-color: hsla(0,0%,10%,.05);
border: 1px solid hsla(0,0%,10%,.1);" pricing-table-id="prctbl_1NJUItLabf7E4J4FWiQiYMm3"
publishable-key="pk_test_51N51ZTLabf7E4J4FaJPGXMbdTQAXLLZ3uKvFZCvZnNxmOXns3uBv9uVeKnAqjlM1s5r7Xk3fhwPQt2IUIlF10aYB00qlF5piIL">
</stripe-pricing-table>

</div>

i am using angular page

#

this is my code

grand creek
#

I'm not familiar with Angular, but you'll need to adjust your code so that it can take in an existing email address, and pass it as an attribute to the stripe-pricing-table.

grand token
#

ok

#

i cancel my subscription but in web hook Events.CustomerSubscriptionUpdated event will fire

grand creek
#

How did you cancel the Subscription, and what is the question you're trying to ask?

grand token
#

i cancelled here but in web hook Events.CustomerSubscriptionDeleted should call right?

#

but i dont know why Events.CustomerSubscriptionUpdated this event is call

grand creek
grand token
#

already configure like this

grand creek
#

Yup, so customer.subscription.updated is expected then.

#

The Subscription isn't immediately being canceled, it's being updated so that it will cancel at the end of the billing period.