Support

Home Forums Event Espresso Premium payment method of type Paypal Standard was not saved because there were validati

payment method of type Paypal Standard was not saved because there were validati

Posted: May 26, 2015 at 3:51 am


Zoe E

May 26, 2015 at 3:51 am

Hello,

We have sent up Pay Pal standard and this is working but the images are not.
Kepp getting the error

That URL seems to be broken. Please enter a valid URL
http://www.angelsdesserts.co.uk/wp-content/uploads/paypal-logo.png

Thats the URl This is a the same issue as reported here.
https://eventespresso.com/topic/paypal-standard-problems-error-has-occurred-payments_admin_page-_update_p/

Has this issue not been fixed?

How come you doing validation on the URL in the first place. I can understand why but it is the correct URL so the validation clearly does not work.

Many Thanks.


Tony

  • Support Staff

May 26, 2015 at 4:54 am

Hi Zoe,

The validation is in place to load the images over HTTPS if available, we have made some improvements on how this works that is currently under testing.

Currently you can apply this filter:

add_filter( 'FHEE__EEM_Payment_Method__verify_button_urls__button_urls_to_try', 'ee_dont_consider_ssl_button_urls' );
function ee_dont_consider_ssl_button_urls( $button_urls_to_try ) {
unset( $button_urls_to_try[ 'current_ssl' ] );
unset( $button_urls_to_try[ 'default_ssl' ] );
return $button_urls_to_try;
}

Which should remove the HTTPS validation and simply use HTTP for the images. You can add this to your themes functions.php file or a Site Specific Plugin.


Zoe E

May 26, 2015 at 5:13 am

I have added that function but it still says the URL is invalid.

http://www.angelsdesserts.co.uk/wp-content/uploads/paypal-logo.png

What do i need to change in the URL so stop it saying its invalid and for it to save it.


Tony

  • Support Staff

May 26, 2015 at 5:19 am

Hmm, strange.

Are you using the latest version EE4? (currently 4.6.28.p)

That logo you are using the is same as the default logo provided within EE4, is there a reason you are not using the default image?

If you remove all text from button url field and save the settings it should revert to the default URL and display that same image using:

http://DOMAIN/wp-content/plugins/event-espresso-core-reg/payment_methods/Paypal_Standard/lib/paypal-logo.png

event-espresso-core-reg may be different if you have a different directory name.


Zoe E

May 26, 2015 at 5:49 am

Hi,

I Have empty the fields and it not go to the default, It is set to the latest version.

There was no reason for not using the default was as it wasn’t working.


Lorenzo Orlando Caum

  • Support Staff

May 26, 2015 at 9:28 am

Hey there,

Could you please create a temporary WordPress admin login so we can take a closer look at this issue?

Please share that temporary login through the secure link below:

https://eventespresso.com/send-login-details/

To prevent delays in troubleshooting, be sure to double check your information on the form before submitting.

The submit button for the form appears at the end of the form.

Again, please ensure that the temporary login works.

Thank you.


Lorenzo

The support post ‘payment method of type Paypal Standard was not saved because there were validati’ 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.

Event Espresso