Stripe, is it possible to search a customer by their email?
Stripe now allows you to filter customers by email. https://stripe.com/docs/api#list_customers Map<String, Object> options = new HashMap<>(); options.put(“email”, email); List<Customer> customers = Customer.list(options).getData(); if (customers.size() > 0) { Customer customer = customers.get(0); … This is important to help ensure you don’t create duplicate customers. Because you can’t put creating a customer in Stripe and the storage … Read more