Forum Replies Created
-
AuthorPosts
-
mariuselz
ParticipantI’ve managed to do this using Stripe Webhooks and written my own webhook handler in my API. I’d say this is the best/cleanest method. I’m thinking of also moving the “asp_stripe_payment_completed” action I have in WP to Stripe Webhooks.
mariuselz
ParticipantHello,
Thank you for your reply!
I am using the “asp_stripe_payment_completed” action/hook and it’s working for the first time an user purchases a subscription. But it seems when the subscription is renewed, the hook is not triggered as my DB is not updating. Is this action supposed to be triggered on renewal as well?I will try to simulate a subscription renewal and retest my code meanwhile.
Best,
Mariusmariuselz
ParticipantHello Alexander,
How can this asp-prefill-customer-name-and-email be used exactly? I’m not sure I understand sorry.
Best,
MariusNovember 6, 2024 at 10:44 pm in reply to: Subscription – Action hook for cancelling a subscription #5295mariuselz
ParticipantOk, it works. I created a plugin specifically for the hooks and it’s all good.
Thank you, the plugin is really nice so far.
November 6, 2024 at 10:20 pm in reply to: Subscription – Action hook for cancelling a subscription #5294mariuselz
ParticipantUpdate: Found this discussion: https://s-plugins.com/forums/topic/i-need-to-hook-into-the-chancel-subscription-function/
I’m in the process of making a custom plugin right now and check. Will update.
-
AuthorPosts