Wix Pay Phone Number Pulling

Question:

How can you pull checkout form data to use in code?

Product:
Wix Editor

What are you trying to achieve:
So for my website… I have added an additional form at the wix pay checkout to collect their phone number. This phone number should then be pulled into custom code which is triggered once the user has paid to send a text to that SMS number. I’m trying to use automation for this, but cannot pull the phone number.

1 Like

Hello!
To pull checkout form data in Wix Editor, use Velo by Wix. Add a custom field for the phone number in your checkout Labcorp form, then use the wix-pay API to access the order details after payment. For example, retrieve the phone number with order.customFields.phoneNumber and trigger your SMS function once the payment is completed.