stripe-checkout

asp.net core 3.1 getting current identity user within stripe HttpPost(“webhook”) returns NULL

旧街凉风 提交于 2021-02-10 16:15:48
问题 I've integrated stripe checkout payments in my website according to stripe's example Everything works fine. I could verify webhooks are working with stripe CLI and also using ngrok, tunneling my localhost . Now I've started implementing interaction with the identity database. I wanto to store there the stripe session.CustomerId after the webhook has fired checkout.session.completed . For that I need to access my Identity database. My code is: [HttpPost("webhook")] public async Task

asp.net core 3.1 getting current identity user within stripe HttpPost(“webhook”) returns NULL

霸气de小男生 提交于 2021-02-10 16:13:19
问题 I've integrated stripe checkout payments in my website according to stripe's example Everything works fine. I could verify webhooks are working with stripe CLI and also using ngrok, tunneling my localhost . Now I've started implementing interaction with the identity database. I wanto to store there the stripe session.CustomerId after the webhook has fired checkout.session.completed . For that I need to access my Identity database. My code is: [HttpPost("webhook")] public async Task

New Stripe SCA checkout flow in Rails

孤街醉人 提交于 2020-07-05 05:12:17
问题 I'm struggling with switching my Rails app to the new Stripe checkout flow to accommodate the new SCA regulation. I want to implement the simple dynamic product routine found in this link: https://stripe.com/docs/payments/checkout/migration#api-products-after I can't figure out where to put the different pieces of code. What should go in: - controller -> in which methods - views -> the event show view for example. The form/button the user will click - javascript -> how to pass the right

New Stripe SCA checkout flow in Rails

余生颓废 提交于 2020-07-05 05:12:10
问题 I'm struggling with switching my Rails app to the new Stripe checkout flow to accommodate the new SCA regulation. I want to implement the simple dynamic product routine found in this link: https://stripe.com/docs/payments/checkout/migration#api-products-after I can't figure out where to put the different pieces of code. What should go in: - controller -> in which methods - views -> the event show view for example. The form/button the user will click - javascript -> how to pass the right