question

vmag avatar image
vmag asked bryanvargas answered

credit card not charged

I am getting the following response from the E-commerce API and also see the payment and email come thru for the successful transaction but the card is never charged. Here is a snippet of the response. Capture is also set to true.


{

"id" : "PQN3P0AG6AGPP",

"amount" : 199,

"tax_amount" : 20,

"payment_method_details" : "card",

"amount_refunded" : 0,

"currency" : "usd",

"created" : 1683340931388,

"captured" : true,

"ref_num" : "409559860",

"auth_code" : "780828",

"outcome" : {

"network_status" : "approved_by_network",

"type" : "authorized"

},

"paid" : true,

"status" : "succeeded",

ecommerce
10 |2000

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

bryanvargas avatar image
bryanvargas answered

So the account you processed it on was a test merchant account so there is no actual processing.

10 |2000

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

parquet76 avatar image
parquet76 answered parquet76 commented

In what environment? If you are making your request against a "sandbox" url your payment won't be hitting a real payment gateway and thus your card will not be charged.

2 comments
10 |2000

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

vmag avatar image vmag commented ·

This is in production environment

https://scl.clover.com/v1/charges

0 Likes 0 ·
parquet76 avatar image parquet76 vmag commented ·
Are you using a real/live merchant or a test merchant? If you are using a real/live merchant you will see a charge (not certain if closeout needs to run first for ecomm).
0 Likes 0 ·

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