Skip to main content

All Questions

-1 votes
1 answer
154 views

java-stripe version 26.0.0 is not able to deserializer event with api-version 2023-10-16

Using java-stripe version implementation("com.stripe:stripe-java:26.0.0") { "id": "evt_3PY5cgCeh1qdQtxa0SIqAQDf", "object": "event", "...
jugal kishor Sahu's user avatar
1 vote
1 answer
554 views

Stripe Webhooks in Multitenancy

I'm currently in the process of developing a SaaS application, and I'm utilizing Stripe for payment processing. The nature of my application is subscription-based, meaning customers pay for recurring ...
Sapumal W's user avatar
-1 votes
3 answers
561 views

Prevent save duplicate entry in our local database during stripe webhook

In my Spring Boot application, I'm listening to webhook events from Stripe, specifically "invoice.payment_failed" and "invoice.payment_succeeded." I've implemented the following ...
JAY's user avatar
  • 23
0 votes
2 answers
851 views

Why stripe first send invoice.payment_failed webhook

Why stripe first send invoice.payment_failed webhook webhook event even subscription transaction is successfully completed I know in unsuccessful transaction it is common but every transaction(every ...
JAY's user avatar
  • 23
0 votes
1 answer
630 views

lost the session data after redirecting to stripe

I am creating a food ordering system in spring MVC with stripe payment integration. when I am trying to get the attribute from session inside the webhook controller which I had set in it previously I ...
sushil's user avatar
  • 1
0 votes
1 answer
2k views

Why is my Java server code throwing a 502 error when attempting to receive a webhook from stripe?

I keep receiving this error message when I attempt to send a webhook to my server. a <html><body><h1>502 Bad Gateway</h1> The server returned an invalid or incomplete ...
GNG's user avatar
  • 1,521
0 votes
1 answer
1k views

Stripe Java API Webhook Error when casting to a Customer

I found this post: "Retrieve stripe data from stripe webhook event" and it tells you to get the object type you have to cast from StripeObject, like Invoice invoice = (Invoice) event.getData()....
Patrick S.'s user avatar
0 votes
2 answers
3k views

Using Stripe Webhook to send get customer details for recurring payments using Stripe

I have configured Stripe payments in my Java Spring MVC Web Application. I am able to add a Customer, create a Plan and also set up Subscriptions for the customer. Since I have recurring payments, I ...
Geo Thomas's user avatar
  • 1,149
3 votes
1 answer
1k views

Stripe Java API - Cannot parse Event object from Webhook

I upgraded to the latest Stripe API (2017-06-05) and noticed that test webhooks being sent to my server worked perfectly, but live ones did not. After looking into it, I noticed that the Event object ...
Corey Caplan's user avatar
8 votes
2 answers
8k views

Retrieve stripe data from stripe webhook event

When implementing stripe webhook in java, I am successful in getting the event object in JSON format. The problem is I am not able to get the details like the amount, subscription_id, attributes which ...
viper's user avatar
  • 1,906
4 votes
2 answers
9k views

Stripe invoice.payment_succeeded webhook is triggered multiple times

I am using Stripe (test mode) to develop the payment module in my application. I have done the following, Subscribing a customer to an existing plan created in stripe using Customer.create(...
KayKay's user avatar
  • 583
12 votes
4 answers
14k views

How to Receive Webhook from Stripe in Java

I am trying to receive a webhook via a post request from Stripe Payments. The java method to process it looks like this: @ResponseBody @RequestMapping( consumes="application/json", ...
Matt's user avatar
  • 5,778