FAILURE for payment webhook response

jvinkjvink Member Posts: 5
edited July 4 in Development

The payment webhook for one of the LightspeedK restaurants we have an integration with does not work for CASH payments.


https://ikentoo.github.io/apiDocs/order-pay-api#resources-example-callback-controller-test-example-failed-order-webhook


All other payments work totally fine, just the CASH payments will give a FAILURE response code with a FAILURE reason. This reason obviously is not very helpful for us, so if you could point me in any direction that would help a lot.


In the backoffice of the restaurant, the payment method CASH is available, which we use to book the payment on.


Thanks in advance

Answers

  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 383 moderator

    Hi,

    Can you send the businessLocationId and thirdPartyReference, so we can have a closer look.

  • jvinkjvink Member Posts: 5

    businessLocationId: 664457210494978

    thirdPartyReference: MyDish

  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 383 moderator

    Please check your private mailbox

  • jvinkjvink Member Posts: 5

    Still does not work:


    5:11:07.849 PM


    Lightspeed K webhook response: {

    reason: 'FAILURE',

    thirdPartyReference: 'rbHZQ8xiarvSS8GFbM38-YczgCR16Gm7Xwz8CRbAX',

    businessLocationId: 664457210494978,

    status: 'FAILURE',

    ikentooAccountIdentifier: 'A730439.4087',

    type: 'PAYMENT'

    }

Sign In or Register to comment.