Posted: March 9, 2014 at 8:23 am
|
Wordpress 3.8.1 Hey Guys, Thanks |
Hi Ben, Please try something like this in your theme’s functions.php file: function stripe_success_message($phrase) { $phrase = str_replace('Transaction was completed successfully', 'This is my new transaction status message for Stripe', $phrase); return $phrase; } add_filter('the_content', 'stripe_success_message', 105); — |
|
|
Hi Lorenzo, Thanks for that, however, I’m now getting this error – http://screencast.com/t/QKBofGMfvc I’ve undone everything and resaved and uploaded the files as they were, and I’m still getting the error. The error is when I click on an event in the calendar, instead of showing the registration page. Please help. Thanks |
Hi Ben, Its referring to WordPress HTTPS. Could you try turning that plugin off? Does the error clear up? — |
|
|
Thanks Lorenzo, That has removed that error. What do you suggest now to change the Stripe thank you page? Thanks |
Headers already sent is usually from excess whitespace: Is there any extra space at the end of your theme’s functions.php file? If so, could you remove it and try reactivating WP HTTPS? — |
|
|
Deleted 2 blank lines, resaved and uploaded. Turned on https, and gave me this error instantly – http://screencast.com/t/vPSks5iLBX Any ideas? Thanks |
Its a PHP warning but does it persist throughout the WordPress admin? For example, what happens if you return to your WordPress dashboard after you see that message? — |
|
|
No it doesn’t persist throughout the admin, but the error now appears again from clicking on an event in the Calendar. I could go ‘back’ to the dashboard after that error ok. So https is back on, but error still showing from Calendar. I’m bit confused how this error can be appearing after changing the functions, and custom functions file, and both have been put back to their original state. At least that’s what I think so. Let me know if you want login details. Thanks. |
Hello, Please share that temporary login through the secure link below: — |
|
Thank you. I responded privately with what I’ve found. Lets continue working on this issue there until its resolved. — |
|
|
Thanks Lorenzo, So the calendar feature seems to be working now, and the error that was appearing seems to have disappeared. Thank you! Going back to the original question of how to edit the ‘thank you’ page for Stripe, do I go back to the functions.php and edit the file? Thanks |
Yes, you would need to add the code that I shared earlier back to your theme’s functions.php file. — |
|
|
Thanks Lorenzo! All working now, thank you! With Paypal Standard, can I do the same thing? Thanks |
I’m not sure if that is possible because I think the success message is the same. The code snippet that I shared earlier (https://eventespresso.com/topic/thank-you-page-stripe/#post-85026) works by looking for a specific phrase and then replacing it with your new phrase. If the original phrase for PayPal is different than “Transaction was completed successfully” — then you can setup a similar function. Does that make sense? — |
|
|
Thanks Lorenzo, That makes sense. It’s just that that when I have changed the thank you page before, I have used the ‘customfunctions.php’ page so its part of the plugin, instead of the theme. Is either way ok? Thanks |
You can switch it to that file. — |
|
|
Thanks Lorenzo! |
The support post ‘Thank you page – Stripe’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.