#RonnySteelman

1 messages · Page 1 of 1 (latest)

dense moonBOT
tacit hornet
#

Can you clarify what you're trying to do? Are you trying to re-create some test objects in another account?

gleaming oak
#

@tacit hornet - I created Products, Plans, and Pricing in Stripe. I had a webhook to localhost dev using Stripe CLI, which synced the creation of all of those to my localhost database.

I move localhost to a UAT environment, on public web, for user acceptance testing. It is connected to Stripe Test and webhooks are set up...but I need to re-push Products, Plans, and Prices to the UAT webhook so they go into the database.

#

If I had deployed to Production and hooked it up, I could go into each Product, Plan, and Price in Stripe.com and select the option to push those to Stripe Production. It would recreate the records in production and trigger the webhook...but i can't do that in test, from what I can see

tacit hornet
#

Are you trying to re-send previously delivered webhook notifications to another endpoint?

#

If you're using the same Stripe test account, those objects already exist and don't need to be recreated. Any reflection of those objects stored in your application database are of course separate, and might require you to reproduce.

gleaming oak
#

@tacit hornet yes, I am trying to resend them to a new webhook endpoing

#

endpoint

tacit hornet
gleaming oak
#

So I need to go through and find each event already triggered and pass them to that command?

tacit hornet
#

If that's what you're trying to do here, yes. I suspect that you might be better simply creating new Products/Prices etc in your test account once your new endpoint is configured and letting everything else happen ~naturally.