question

hass123 avatar image
hass123 asked blakelively sent

Hosted checkout for an order is paid successfully, but order "paymentState" remains "OPEN"

Order id: GQ015PA136592

merchant id: S8Y2EPTV23VJ1

payment id: PTK4TAPCQ69K0


We're using a hosted checkout, and in sandbox, following the process to pay for an order. This triggers a call to a webhook and we can see that the order is paid and I also get an email receipt.

webhook {

type: 'PAYMENT',

id: 'D60XRAXB406Q6',

merchantId: 'S8Y2EPTV23VJ1',

created: 1722600059.185,

status: 'APPROVED',

message: 'Approved for 185',

checkoutSessionId: '1cd17098-99b0-439f-9391-49f1d299c0f8'

}


Looking at the order data, it's paymentState is still open... I would expect it to be paid.


Things i've tried:

I tried to create a payment record providing the tender id but get an error saying I need to specify an external payment. Why would this be the case if I've used clover to process the payment?


Please can someone shed some light on this?





paymentstate
10 |2000

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

1 Answer

·
hass123 avatar image
hass123 answered
10 |2000

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

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