Test onNewOrder backend code

Howdy,

Similar to this: https://www.wix.com/corvid/forum/community-discussion/how-to-test-the-payments-api-also-how-to-use-onpaymentupdate-from-the-payments-api

I guess there is no current way to run tests for new orders without actually making a purchase?

1 Like

You can always try doing a manual payment (cash) if you have that option set up on your site.

Yes it won’t help you with testing the process for taking payments through card or paypal for example, however it should still create an new order event and be marked again when you manually set the order as paid.

However, until Wix implement a way of testing it with test accounts etc, then we will always be asking if and when.

2 Likes

Interesting. I’ll try setting up cash payment temporarily for testing.

1 Like

I am running into the same concerns as well…

Please follow our forum guidelines and post new rather than jumping onto the end of an old post from 8 months ago.

https://support.wix.com/en/article/previewing-the-checkout-process-in-wix-stores

This post will now be closed, if you require more help then please post as new.