#meisei81
1 messages · Page 1 of 1 (latest)
Client ID and Customer ID are different
It should be something like this:
Map<String, Object> params = new HashMap<>();
params.put(
"success_url",
"https://example.com/success"
);
params.put("line_items", lineItems);
params.put("mode", "payment");
params.put("customer", "cus_xxx");
Session session = Session.create(params);
No problem! Happy to help 😄