Thanks for responding – I’ve figured out a solution. Just for anyone else who is trying to pass in specific prices, you can create a copy of the plugins/stripe-payments/public/assets/js/stripe-handler-ng.js and put it in your theme file and load it after the one loaded by the plugin, like this:
wp_enqueue_script(‘stripe-handler-js’, get_stylesheet_directory_uri() . ‘/js/stripe-handler-ng.js’ . $nocache, array(‘stripe-handler-ng’));
This will override the plugin file and means you can modify the way the popup is initialised without breaking the plugin. Inside that file is a variable called pass_amount that passes the amount to be charged into the popup – you can use that to set custom amounts.
Hope that helps someone.