You are here: / / REAL Dynamic Stripe Button. Do_shortcode()
Hi! Nice to meet you! I will be quick.
The thing is that you can´t insert it or modify the shortcode (innerHTML) after DOM is showed. (Client has to select in the form from a table info). Because PHP is already finished.
Do u have any clue?
Hi! Thanks for your reply!
Yeah, i try to do:
var phpstripe= <?php echo do_shortcode([accept stripe payment….]);?>
(i tried all posibilities with the code, putting commas everywhere, double commas, single….)
When i do that, mi var phpstripe is undefined and not with a HTML button inside. I tried to look in the register if do_shortcode() has registered the string [accept stripe payment…]
I tried to edit an actual stripe payment button but the problem is that if you change the properties, it still has the old value and i think it is because hash fuction
You must be logged in to reply to this topic.