Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Return to merchant" button in paypal does not work #28

Closed
kmark opened this issue Apr 3, 2013 · 2 comments
Closed

"Return to merchant" button in paypal does not work #28

kmark opened this issue Apr 3, 2013 · 2 comments

Comments

@kmark
Copy link
Member

kmark commented Apr 3, 2013

Original author: gugli...@gmail.com (June 29, 2010 10:31:30)

What steps will reproduce the problem?
1.Try to buy a hosting with paypal
2.Click in the "return to merchant" button in paypal
3.You will be redirect in other page

What is the expected output? What do you see instead?
Redirect to the page like client/index.php?page=invoices?invoiceID=2 instead of client/index.php?page=invoices

What version of the product are you using? On what operating system?
SVN revision 62

Please provide any additional information below.

add the urlencode function like this:

$paypal->add_field('return', urlencode($db->config('url')."client/index.php?page=invoices&sub=paid&invoiceID=".$iid));

$paypal->add_field('cancel_return', urlencode($db->config('url')."client/index.php?page=invoices&sub=paid&invoiceID=".$iid));

$paypal->add_field('notify_url', urlencode($db->config('url')."client/index.php?page=invoices&sub=paid&invoiceID=".$iid));

I added the sub=paid for my invoice modifications... here:
http://thehostingtool.com/forum/thread-880.html

Original issue: http://code.google.com/p/thehostingtool/issues/detail?id=35

@kmark
Copy link
Member Author

kmark commented Apr 3, 2013

From kuj...@gmail.com on June 29, 2010 11:59:43
It's a paid hosting feature which we will no longer be touching. Short of a major security bug consider all paid hosting related features locked.

@kmark
Copy link
Member Author

kmark commented Apr 3, 2013

From gugli...@gmail.com on July 13, 2010 13:39:44
Fixed here r72

@kmark kmark closed this as completed Apr 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant