question

ramya avatar image
ramya asked ·

E-commerce response field "paid"

According to the documentation the paid should be either true or false.

"paid": (true/false) - The new value is a boolean instead of an enum

But we are receiving long value.


"status_transitions" : {

"paid" : 1613811226556

}

Based on which filed should we consider either the payment was success or failure.

I am using sandbox. Order Id : DQAQJGGP90J52

e-commerce api
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

· Write an Answer
David Marginian avatar image
David Marginian answered ·

Update:

paid: true is returned in the response. Your test merchant is blackholed which may be why you are not seeing it in the response.

Original/Incorrect response:

Our docs are incorrect. I will see to it that we fix them. I think you can use the "status" field and value "paid" to indicate that the payment was successful.

1 comment
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.

Thank you David for confirming. One more question, what is the difference between paid Vs created Vs fulfilled?


Do we only have to consider status : "paid" as successful?

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