WP User Frontend Pro – Paypal going to 404

This topic contains 1 reply and 2 voices, and was last updated by Tareq Hasan 9 years, 9 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
July 10, 2014 at 7:53 pm 23313
Tareq Hasan I am not sure if this was already reported. I just purchased the pro version 2 days ago and installed in on my site. Everything works find until I activated the live Paypal. When I click the Purchase button, it goes to Paypal but showing 404 page. Below is the URL (change some data to XXX). https://www.paypal.com/webscr/cmd=_xclick&business=XXXXX&amount=1.00&item_name=Trial&no_shipping=1&shipping=0&no_note=1¤cy_code=USD&item_number=1415&charset=UTF-8&rm=2&custom=%7B%22type%22%3A%22pack%22%2C%22user_id%22%3A107%2C%22coupon_id%22%3A%22%22%7D&return=XXXXXXX¬ify_url=XXXXX After some tinkering I notice the missing ? parameter after /websrc/cmd=. So I modified the file paypal.php and added the ? in the $this->payment_gateway variable declaration inside the __construct() FROM: $this->gateway_url = 'https://www.paypal.com/webscr/'; TO: $this->gateway_url = 'https://www.paypal.com/webscr/?'; Hope this helps.
July 10, 2014 at 10:59 pm 23326
Tareq Hasan Tareq Hasan

Thanks, will fix it 🙂

Viewing 1 Posts - 1 through 1 (of 1 total)