- This topic has 1 reply, 2 voices, and was last updated 6 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Stripe payment plugins for your WordPress site
· ·
Home › Forums › Stripe Payments Plugin › Documentation error for asp_stripe_payments_checkout_page_result
The documentation for asp_stripe_payments_checkout_page_result suggests to add filter with this:
add_filter(‘asp_stripe_payments_checkout_page_result’, ‘asp_custom_thank_you_msg’);
But that yields an error that the second argument is missing; you need to specify the number of arguments accepted (after the priority) like this:
add_filter(‘asp_stripe_payments_checkout_page_result’, ‘asp_custom_thank_you_msg’, 10, 2);
Thats a mistake for sure. I have corrected it just now. Thank you for pointing it out.