question

Devendra avatar image
Devendra asked ·

Remote Pay Java - CC or Debit card - How to identify from response

Hi,
How can we identify in sale response if its a credit card or Debit card?
Thanks.
Sale
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Chanel avatar image
Chanel answered ·
saleResponse.getPayment().getTender().getLabel();

This will give you one of a number of constants that represent the type of tender used in the payment.
Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community