All Questions
Tagged with stripe-payments java
274 questions
17
votes
2
answers
30k
views
How to update customer default paymentMethod in Stripe?
Let's assume that we have created a payment method - pm_xxx.
When we create a customer we can attache this method as the default payment method to the customer via java code:
CustomerCreateParams....
14
votes
1
answer
10k
views
What is CONNECTED_STRIPE_ACCOUNT_ID? How to get it from android platform?
I am working on Ride Sharing app and i choose Stripe as payment procedure. What happens in app that rider can tip to driver. For this i used this approach that, Rider will pay to the App's stripe ...
13
votes
2
answers
5k
views
Do I need my own server to use the Stripe API?
I want to implement payments in my app via Stripe. I'm reading their documentation and it keeps mentioning that i wll use my own server to charge someone after i retrieve a token from Stripe. (stripe ...
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",
...
12
votes
2
answers
9k
views
Usage of Kotlin internal declaration from different module while integrating Stripe in Android
Following the guidline, I'm integrating Stripe in Android. In the step 4 they use TerminalLifecycleObserver in Application class. I've followed all the steps above and also tried more brief guidline ...
10
votes
1
answer
3k
views
Does Stripe Payment Intent Id need to be kept secret?
I am using Stripe for payments in my app. There are two Ids: payment_method_id and payment_intent_id. I noticed that when I try to use a payment_method with a different Stripe Customer, it doesn't let ...
8
votes
1
answer
16k
views
Stripe: card holder name verification
How can I implement this scenario:
1) When making payment with credit card user puts in the form his/her first name and last name
2) If first and last name entered to not match first and last name (...
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 ...
7
votes
8
answers
24k
views
Stripe Integration in Android Studio
I am working to integrate the Stripe payment gateway in an Android app that I am developing. I have followed the steps listed on https://stripe.com/docs/mobile/android.
When I try to create a new ...
5
votes
1
answer
3k
views
How do I mock out Stripe network calls for testing in Java [duplicate]
I'm trying to test a function that's making a Stripe api call Plan.retrieve("my_plan_id"). I'm using junit as my testing library and mockito as my mocking library. The problem here is that Plan....
4
votes
2
answers
14k
views
Converting a POJO to Map [duplicate]
I have the following:
public class ChargeRequest {
@Expose
private String customerName;
@Expose
private String stripeToken;
@Expose
private String plan;
@Expose
...
4
votes
2
answers
916
views
Stripe Flutter : "error: no suitable constructor found for ReadableMap(HashMap<Object,Object>)"
I want to implement Stripe to my Application.
To do this, I have this pattern :
The suer click on a product, it's linked to the BackEnd, who generate a PaymentIntent and send it to the FrontEnd. When ...
4
votes
2
answers
6k
views
Stripe: How do i know whether card is 3d secure and how to charge it
i am new to Stripe Pay. I am finding a way to charge a card (any card) which is added to customer cards. But i am unable to differentiate a 3d secure card. Below is the code that i am trying:
...
4
votes
1
answer
783
views
No such recipient error Stripe
I am getting this error when trying to do a test payment transfer to a test bank account through Stripe
My frnt end side code:
<html>
<head>
<script type="text/javascript" ></...