And I have another post on the same topic, that i need help with database
import wixData from ‘wix-data’ ;
function startPayment ( paymentId : string , $w [ options : PaymentOptions ]): Promise < PaymentResult >
$w . onReady ( function () {
wixData . query ( ‘orders’ )
export function wixStores_onOrderPaid ( event ) {
const paidOrderId = event . _id ;
}
/* Full event object
*
What is the issue? You just posted the sample code.
Please do not create multiple post regarding same topic
You didn’t understand what I meant. I just have a question, and what you have seen is an attempt to solve it. And here is my question or a dilemma:
I need to get data about the user, for example, place of residence, city, post office, and so on from the database and upload them to a conditional excel table or Google tables. Or how can I directly upload the data to amoCRM to fill in the same data.
To upload for example a CSV-File, you can do it trough the wix-integrated “import-options”, or you generate your own solution.
A direct CSV-Upload is not possible as i know, but there are other options how to solve it.
I went through writing code through Velo, but unfortunately, this process did not progress further.
Maybe you will have some solution to this problem?