#meisei81

1 messages · Page 1 of 1 (latest)

chrome novaBOT
wild wasp
#

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);
frosty harness
#

can't I just use java bean to do?

#

sorrry.

#

I find the right way

#

thanks.

wild wasp
#

No problem! Happy to help 😄