If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
February 7, 2013 at 3:25 am #20155
I am wondering if anyone here can help me out with this problem I am having. My client is a printed classifieds magazine company. I am using Contact Form 7 to record user input for ad/classifieds placements which the client then outputs to their desktop publishing program to format for print. The problem I have is the Paypal button integration. Every time I set them up they appear to work fine then within a day or 2 they stop working. What I have done is set up a page with the Paypal Buy Now button for each product. Once the customer has filled in their details on the appropriate form for the product(advertisement) they are purchasing they are directed to the relevant page via a script that I have placed in the “Additional Settings” field of each CF7 form. For example: on_sent_ok: “location.replace(‘http://dev.ccctrader.com.au/ten-issue-subscription-payment/’);”
Then when the customer clicks the “Buy Now” button it should take them to Paypal where they can complete their payment. This is where I have the problem, it doesn’t redirect them, it seems to just go dead.
I don’t have very many plugins:
Contact Form 7, Contact Form DB and Contact Form to DB Extension Edit. These are to allow customers to submit their details for the ads and for the client to be able to sort and edit them for print.
Paypal Framework: No idea if I need this or not. It was recommended to me however I have no idea how it works or what it is doing. Something to do with the Paypal API. I am now assuming that I don’t need it since the Paypal buttons should really work independently from any site they are used on, is this correct?
How can I get CF7 forms and Paypal working together successfully?
Or, is there a better way for me to do this whilst maintaining the CF7 forms and database? Basically everything works fine, I just need the pay now buttons to work properly.
The site is: http://www.ccctrader.com.au
Any help would be greatly appreciated.
Thanks in advance
MichaelFebruary 7, 2013 at 7:10 am #106493
I get following error message (Chrome dev console) when I click the Buy Now button: “Refused to display document because display forbidden by X-Frame-Options.”February 8, 2013 at 12:49 am #106494
Thanks very much for your response Dude. This response here seemed applicable to me: “I had the same issue with the Paypal iframe contained in another iframe. It works now! Thanks – Fabrizio Fortino Oct 25 ’12 at 7:12”
I’m going add target=”_top” and see if that solves the problem. Will let you know soon how it goes.February 8, 2013 at 4:15 pm #106495
That sounds like it would probably do it. I know a lot of transaction sites have issues with being inside another iframe.
DevinFebruary 8, 2013 at 10:21 pm #106496
The topic ‘Paypal with Contact Form 7 problem’ is closed to new replies.