Problem with errors and "PayPal Payflow Pro iFrame" module
I figured it OUT!!! Please stay tuned and I'll get back to you all with what I did so I can help anyone else running into the same issue.
EDIT to give info:
First this is how it works for me. It might not work this way for everyone.
Initially I tried to get the Iframe to work and it gave me a lot of problems with call back, error display, etc.
I tried to set it to redirect with multi-store and ran into problems. The main problem was that in paypal payflow account settings
redirect uses one of two templates.
Those templates you either put an image at the top or your store name. If you put an image of one store that image shows for ALL stores. Same thing for any text you put there. See this thread:
http://forum.opencart.com/viewtopic.php?f=113&t=116063
So multi store and "PayPal Payflow Pro iFrame" module set for redirect mode can cause concern for your customers if they see another stores info at the top of the page. (If you have no other option to use then I would choose text and put something like "Pay By Credit or Debit card" so it just shows a generic title.)
iframe does work but it was a pain to get it to work.
Okay to cut to the chase and help someone.
Set up the "PayPal Payflow Pro iFrame" module --->
- Fill out all the fields with your account info
- Set "Checkout Method:" to "Iframe" (paying attention to the info there - no SSL wouldn't use iframe)
Get into your manager.paypal.com account.
- Service settings --> Set up
-- Fill out:
Enter Cancel URL:,
Enter Return URL:,
Enter Silent Post URL: with the information provided at the bottom of the "PayPal Payflow Pro iFrame" module screen.
-- LEAVE "
Enter Error URL" BLANK!!!!
(IMPORTANT)
-- Set "
Payment Confirmation" to " On my website"
-- Set your "
Security Options" to your preferences.
<SAVE> your settings.
Next in manager.paypal.com in:
- Service settings --> Customize
Select "Layout C" then "Save and publish".
That should work for you. The problem is the "
Enter Error URL" if you fill that out the error will be sent back to your store for "payment/pp_payflow_iframe/pp_error" to handle but "pp_payflow_iframe_error.tpl" file contains basically one line -- a javascript redirect line that reloads the page, so you get a blank IFrame and your checkout page reloads... (pp_payflow_iframe_error.tpl does not handle displaying of your the errors - YES I know the instructions say to put in "
Enter Error URL" in your settings but don't.)
If you have any questions please feel free to ask me. I would love it if this info helps someone not spend days trying to figure it out.
Mike