question

cardvp1 avatar image
cardvp1 asked cardvp1 commented

POST https://scl.clover.com/v1/charges HTTP/1.1 Response Code : 401 java.lang.Exception: EXITING EARLY - INVALID RESPONSE CODE

Hello, I can successfully access https://checkout.clover.com/assets/keys.json, https://token.clover.com/v1/tokens. But when requesting https://scl.clover.com/v1/charges, Response Code appeared: 401

java.lang.Exception: EXITING EARLY - INVALID RESPONSE CODE

Merchant
1 comment
10 |2000

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

cardvp1 avatar image cardvp1 commented ·

Your card token, pass this token in payment requests: clv_1TSTS1KLoFHKV2wEFz1SCrCu

Posting: {"amount":"1100","currency":"USD","source":"clv_1TSTS1KLoFHKV2wEFz1SCrCu"}

POST https://scl.clover.com/v1/charges HTTP/1.1

Response Code : 401

java.lang.Exception: EXITING EARLY - INVALID RESPONSE CODE

at com.clover.remote.EncryptPan.executeRequest(EncryptPan.java:174)

at com.clover.remote.EncryptPan.sendChargePost(EncryptPan.java:162)

at com.clover.remote.EncryptPan.testTokenize(EncryptPan.java:97)

at com.clover.remote.EncryptPan.main(EncryptPan.java:52)


0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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