Plugin Contributor
Ruhul
(@tips-and-tricks-hq)
We don’t currently have an option for that. However, we will investigate adding new hooks to the plugin so you can process a query argument and set the amount dynamically based on that value.
Plugin Contributor
Ruhul
(@tips-and-tricks-hq)
We have added new filter hooks in the latest version of the plugin that should allow you to set “custom amount” via query parameter on a product where you enabled the custom amount feature.
The following documentation has example of how to use this filter hook:
https://wp-express-checkout.com/wp-express-checkout-plugin-filter-hooks-reference/#wpecpaymentformcustomamount