Blank screen after updating subscription CC with a declined card #7623
Unanswered
Genevieve-K
asked this question in
Developer Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I make a subscription with Stripe, then I update Payment Info. I choose a Stripe card declined , and the result is a blank screen.
Explanation: the update function returns an error with the function
give_send_back_to_checkout
, and in this function,$_POST['give-current-url']
is not defined.Could you add it in
shortcode-subscription-update.php
?In the meantime, I fixed by filter
give_recurring_before_update
and add this:<input type="hidden" name="give-current-url" value="<?php echo get_permalink() ?>">
Beta Was this translation helpful? Give feedback.
All reactions