We provide a Hosted Widget so you can send customers directly to a widget without embedding it into a page on your site. This can be helpful for email campaigns and/or if you don't have a website where you can embed payment widgets.
Step 1 - Edit the widget you want use for the link
First, navigate to the widgets page and click on the name of the widget you want to create the link.
Step 2 - Find your Widgets Domain and Unique ID
Scroll down to the embed code and locate the domain and uuid for your widget:
domain = your PayWhirl subdomain
uuid = the widget’s unique ID (copy it exactly, including hyphens)
Step 3 - Build your hosted link
Next, you need to change the link below to match the correct "subdomain" and uuid from your account.
https://<your-subdomain>.paywhirl.com/widget/<widget-uuid>
In the example above, the subdomain is "paywhirl-testing-ltd" so we will replace the beginning brackets with "paywhirl-testing-ltd" and the Unique ID number with "3f2bf6da-85e2-4bb0-bfda-3077a950abab" (the unique id for our widget).
The final link should look something like this:
https://paywhirl-testing-ltd.paywhirl.com/widget/3f2bf6da-85e2-4bb0-bfda-3077a950abab
How to test
Paste the link into a new browser tab (incognito is best).
Confirm the widget loads and the checkout behaves as expected.
If you see an error:
Double-check the uuid (no extra spaces, includes hyphens).
Confirm the subdomain exactly matches the
domain
value.Make sure the widget is active.
Tips
You can append tracking parameters (e.g.,
?utm_source=newsletter
) to measure link performance.Need to revoke a link? Delete the widget/remove the plan sections to disable access.
This link can be sent to customers directly. They will be able to view a secure page with the related payment widget from your account.
Please let us know if you have any questions.
Sincerely,
The PayWhirl Team