Support

Home Forums Event Espresso Premium PayPal Button error display

PayPal Button error display

Posted: November 8, 2012 at 4:55 am


manuel dominguez

November 8, 2012 at 4:55 am

Hi there.
I’m having a problem with the paypal button on how it is display in the payment page. It appears all the way down, with Firebug I can see that are a lot of hidden input values below it wich I suppose are used by PayPal to process the payment. Any idea why it shows this way.
In other pages, for example, to remember payment it appears correctly. In any case the button works perfect. enter image description here


Dean

November 8, 2012 at 5:07 am

Hello Manuel,

This is normally due to how the browser interprets the code. Generally there is some “whitespace” in the code that the borwser sees as line breaks.

2 ways to fix it. Find the hidden field code and remove white space or move the button code above the hidden fields.

If you know which template this is occurring in please advise as I can add it to be fixed in future versions.


manuel dominguez

November 8, 2012 at 8:23 am

Hello Dean.
Thanks for the quick answer.
I move the button code above the hidden fields and now is just under the h2 tittle (paymentgateway.php). So it looks better than before. Anyway I still have a big space under it, I do not know how to eliminate it.
Thanks in any case fot your help.


manuel dominguez

November 8, 2012 at 8:34 am

Hello Dean, I think I have a solution. In paymentgateway.php in about line 97, it begins the form for submit payment. It has a that takes also the form, I move it so it takes only the input type, and then create some css to displays none. It seems to work.


Dean

November 8, 2012 at 11:32 pm

Hi

We lost some of your code, but I will get that section looked at, glad its sorted for you.

The support post ‘PayPal Button error display’ 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