Bug in stripe-form-in.inc.php
-
I think there is a bug in the latest version of stripe-form-in.inc.php on line 601:
$custom_template = $custom_template && stripos($custom_template, '%%source_token%%') !== FALSE ? $custom_template : ''; // Custom template must be up-to-date.
It looks like its checking to see if the custom template path has the string ‘%%source_token%%’. The path would pretty much never have that string.
I imagine it should be checking if the contents (not the path) of that file has the string ‘%%source_token_summary%%’ (not ‘%%source_token%%’).
This applies on line 346, 450, and 601.
I had to comment out this line so that I could use a custom template.
- The topic ‘Bug in stripe-form-in.inc.php’ is closed to new replies.