Support

Home Forums Event Espresso Premium How do you get paypal registration to work in iframes?

How do you get paypal registration to work in iframes?

Posted: November 15, 2012 at 1:19 pm

Viewing 7 reply threads


nbrown

November 15, 2012 at 1:19 pm

My client needs the registration pages to be embeded into a site via iframes. My guess is to do a target=”_new” somewhere in process_payments.php in gateways folder but looking at the file, I have no clue where. Does anyone know which file and which line to modify with what in order to do this? -Thanks


nbrown

November 15, 2012 at 1:47 pm

FWIW – I’m using EE v 3.1.2 and WP v 3.3.1


Dean

November 16, 2012 at 12:21 am

Hello,

I am not sure exactly what you are asking here, could you please define your question?

Also, from a business standpoint and a WordPress lovers standpoint, please update the plugin and WordPress! Numerous bug fixes, security holes and feature updates have been added to both WordPress and Event Espresso since those versions first came available.


nbrown

November 16, 2012 at 8:50 am

Thanks, been a deadline-heavy time, I didn’t notice I was behind on either. Will update both soon.

My client has a non-wordpress website, I would like to embed the EE registration pages using iFrame rather than clicking over to the wordpress site. It’s possible to go through the entire registration process in the iframe– submit, confirm, but when you hit checkout, the paypal window will not load into the iframe. So, I’m thinking that upon clicking checkout, instead of having paypal load in the same window, it could open in a new window and problem solved. Seems easy enough in theory, I just can’t figure out where/how to do that.


Dean

November 19, 2012 at 4:59 am

Hi,

In the event-espresso/gateways/paypal/settings.php there is a form on line 84. Adding target="_blank" to the form will make the paypal button open in a new window. Not tried it in an iframe, but I cant see any reason why it wont work.


nbrown

November 19, 2012 at 2:24 pm

Thanks for the response. I gave it a shot and it didn’t work, maybe I’m not doing it right?

Here’s the original:
the original code line 84

I tried these:
try 1
try 2

  • This reply was modified 12 years, 1 month ago by nbrown.


nbrown

November 19, 2012 at 2:38 pm

Not sure why my images aren’t showing up here, wish I could delete that post. :/

Trying again…

Original
image 1

My attempts:
img 2
img 3


Dean

November 20, 2012 at 2:49 am

Hi,

It looks right to me. As I said I havent tested this via an iframe. I didnt think it would be an issue but it seems it is.

Have a look at this http://www.w3schools.com/tags/tag_base.asp it would need to go into the header of the iframe page.

Viewing 7 reply threads

The support post ‘How do you get paypal registration to work in iframes?’ 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