Issue with SPI custom payment plugin integrated with Wix ecommerce restaurant template

Hello,

I followed the instructions to add SPI custom payment plug in to Wix ecommerce restaurant template.

Product:

Wix ecommerce restaurant template

What are you trying to achieve:

Following the steps of ordering online and paying with custom payment method, the order placing workflow doesn’t complete, ie. it doesn’t insert a record in the Restaurant Orders to be fulfilled, i.e. it doesn’t completes the online order workflow.