- Posts: 87
- Thank you received: 10
Paypal Return URL
- gaborgaborgabor
-
Topic Author
- Offline
I have a little problem with the returning from paypal. When I come back, it puts me on the homepage and not on the after_end. I´m sure, that out fault. Any ideas?
Thx Nicolas
Gabor
H6
Please Log in or Create an account to join the conversation.
Mmmm. Could you try to replace the function
Also, the Return URL option should be empty in the configuration of the paypal plugin.
Please Log in or Create an account to join the conversation.
- gaborgaborgabor
-
Topic Author
- Offline
- Posts: 87
- Thank you received: 10
Cheers
Gabor
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I have my paypal plugin cancel url and return url set empty. When completing a payment through paypal sandbox, I am redirect to the homepage with the usual paypal parameteurs :
(I removed some pers. information)
dev.myUrl.com/index.php?mc_gross=25.00&i...n_link=XXXXXXXXXXXXX
Unless HikaShop has a Joomla system plugin (which I did not found), there is surely missing something like : option=com_hikashop&view=checkout&layout=after_end
Would I need to add it manually?
Please Log in or Create an account to join the conversation.
(
[cmd] => _ext-enter
[redirect_cmd] => _cart
[upload] => 1
[business] => XXXXX
[receiver_email] => XXXX
[invoice] => 22
[currency_code] => CAD
[return] => http://dev.myUrl.com?option=com_hikashop&view=checkout&layout=after_end
[notify_url] => dev.myUrl.com/index.php?option=com_hikas...pl=component&lang=fr
[cancel_return] => dev.myUrl.com/index.php?option=com_hikas...el_order&order_id=22
[undefined_quantity] => 0
[test_ipn] => 1
[no_shipping] => 1
[no_note] => 1
[charset] => utf-8
[address_override] => 1
[first_name] => Super
[last_name] => User
[address1] => xxx
[address2] =>
[zip] => xxx
[city] => xxx
[state] =>
[country] => CA
Please Log in or Create an account to join the conversation.
- gaborgaborgabor
-
Topic Author
- Offline
- Posts: 87
- Thank you received: 10
this is easy. The problem is just the length of the return request string. Return it to a redirect_paypal_success.php file.....
an put this in
<?php
header('Location:http://www.yourdomain.com/index.php?option=com_hikashop&ctrl=checkout&task=after_end');
?>
Cheers
Please Log in or Create an account to join the conversation.
Hi...
The problem is just the length of the return request string.
Is this documented somewhere in the paypal API? I couldn't locate that informaiton.
I know your solution would work, but this is not really what I'm looking for. This is a quick "fix", but operates outside the "CMS" world.
Please Log in or Create an account to join the conversation.
Source
Please Log in or Create an account to join the conversation.
There are a lot of forum threads out there talking about problems with the return URL: www.google.com/search?sourceid=chrome&ie...l+not+working+paypal
This one seems to have interesting advices :
www.x.com/message/152486
Please Log in or Create an account to join the conversation.
In my seller's sandbox, I enabled Auto Return for Website Payments under Profile -> Website Payment Preferences.
I then entered a non-valid url just so I can make some tests.
Also, simply for security issues, I added the rm value to the paypal variables that are being sent ("rm" => "2" in plugins/hikashoppayment/paypal/paypal.php line 93).
Now, whenever I pay, I'm then automatically redirected to the after_end page. Woot!
from : www.x.com/message/152486#152486The Return URL specified in your PayPal Account is good for all transactions however, you can override this by using the "return" variable in your individual item button code and direct the buyer to a different URL.
Please Log in or Create an account to join the conversation.
Thank you in advance.
Please Log in or Create an account to join the conversation.
Otherwise, in most payment methods options screen, and in PayPal's too, there is a "return URL" option so that you can redirect the user wherever you want.
Please Log in or Create an account to join the conversation.