Hi, I am currently using Wix Pay API, which is really good!
I am able to save necessary information into a collection in my database after user “successfully” make a purchase, except one information : the items information.
Right now I have this:
name = result.payment.items[0].name;
It works, but it will be broken if my cell type is reference. It only works if I want to save it as a text.
Could anyone help on how to save items information?
Thank you!
Btw, if anyone is looking for how to save other information (such as status, transcationId), the above code works fine!