You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see, the code about the popup "how Paypal Works" is bad implemented, I found that the issue is here
<% if method.is_a?(Spree::Gateway::BraintreeVzeroPaypalExpress) %> <img src="https://www.paypalobjects.com/webstatic/mktg/logo/pp_cc_mark_37x23.jpg" border="0" alt="PayPal Logo"> <a href="https://www.paypal.com/webapps/mpp/paypal-popup" title="<%= Spree.t(:how_paypal_works) %>" onclick="javascript:window.open('https://www.paypal.com/webapps/mpp/paypal-popup', 'WIPaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700'); return false;"> <%= Spree.t(:what_is_paypal) %></a> <% else %> <%= render_original %> <% end %>
But i don't know if it is a tag issue or something else, if someone know how to solve it?
Thanks
The text was updated successfully, but these errors were encountered:
As you can see, the code about the popup "how Paypal Works" is bad implemented, I found that the issue is here
<% if method.is_a?(Spree::Gateway::BraintreeVzeroPaypalExpress) %> <img src="https://www.paypalobjects.com/webstatic/mktg/logo/pp_cc_mark_37x23.jpg" border="0" alt="PayPal Logo"> <a href="https://www.paypal.com/webapps/mpp/paypal-popup" title="<%= Spree.t(:how_paypal_works) %>" onclick="javascript:window.open('https://www.paypal.com/webapps/mpp/paypal-popup', 'WIPaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700'); return false;"> <%= Spree.t(:what_is_paypal) %></a> <% else %> <%= render_original %> <% end %>
But i don't know if it is a tag issue or something else, if someone know how to solve it?
Thanks
The text was updated successfully, but these errors were encountered: