get price amount from url link parameter

[ad_1]

Hello

i want to send the invoice to the user with prefilled with a custom price and this price is changed many time depend on the deal

how can i get the custom price amount from the URL parameters

like

example.com/invoice?amount=100

will set the price to 100 from the default currency

what is the correct URL to get the prefilled price from the parameter

Thanks

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer