nBill Community nBill Home Page
23/May/2012, 12:37:33 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for the nBill home page, or take a tour.  
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Pay Now link in user "My Orders"  (Read 3474 times)
WolferGiga
Jr. Member
**
Offline Offline

Posts: 8


View Profile
« on: 03/December/2007, 06:41:08 PM »

I've noticed a problem with the "Pay Now" link in the users "My Orders" page (with pending/resubscribe).  When clicked (at least on this site) Paypal comes back and says that the link is invalid for use as a paypal link.  But if the user were to pay through the Order Form, it works perfectly fine.  I haven't checked yet, but maybe the links are being generated differently, or some information is missing in the Pay Now link.
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 04/December/2007, 10:43:45 AM »

Ok, I will look into this before the next release. In the meantime, you can suppress the display of the 'pay now' link using the 'my orders' tab on the display options page in the back-end.
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #2 on: 05/December/2007, 09:12:38 PM »

I didn't have any problem when using the 'Pay Now' link for pending orders and paying with Paypal - neither for one-off payments nor recurring. I have made some changes to the Paypal gateway though which strip some characters that cause problems in paypal. If the problem persists after the next version of nBill is released (1.1.5), please raise a support ticket as I will need access to your Joomla administrator to see what is causing it.
Logged
stevebluck
Jr. Member
**
Offline Offline

Posts: 5


View Profile
« Reply #3 on: 17/April/2008, 10:44:13 PM »

I have the latest version of nBill - and have this exact problem. Any idea when it will be fixed?
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #4 on: 19/April/2008, 08:46:18 AM »

Please raise a support ticket as there is no known bug here - I will need access to your site to see what is going wrong. Thanks.
Logged
mohrt
Jr. Member
**
Offline Offline

Posts: 22


View Profile
« Reply #5 on: 15/September/2009, 09:58:32 PM »

I believe you are running into the problem I am having, when joomla is under a subdirectory. The link ends up looking like this:

http://www.mysite.com/subindex.php?option=com_netinvoice&action=invoices&task=pay&invoice_id=40

Notice the missing slash, it should be sub/index.php.
Logged
mohrt
Jr. Member
**
Offline Offline

Posts: 22


View Profile
« Reply #6 on: 15/September/2009, 10:15:07 PM »

I took it upon myself to fix this bug Smiley

_nmod_nbill/tmpl/default.php

line 122, find:

Code:
mod_nbill_interop::get_live_site() . $nbill_page_prefix

change to:

Code:
mod_nbill_interop::get_live_site() . "/" . $nbill_page_prefix

This is the same solution for other links within the module.
« Last Edit: 15/September/2009, 10:27:46 PM by mohrt » Logged
mohrt
Jr. Member
**
Offline Offline

Posts: 22


View Profile
« Reply #7 on: 15/September/2009, 10:21:57 PM »

actually there are several links with this problem, as I am discovering.

in the same file _nmod_nbill/tmpl/default.php, search for get_live_site() and if it is not immediately followed by . "/", then add it in, exactly as it was done in my previous post.
« Last Edit: 15/September/2009, 10:28:35 PM by mohrt » Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #8 on: 16/September/2009, 09:25:06 AM »

Thank you for pointing out this bug and offering a fix, although the original topic of this thread was unrelated (in fact, the module was only written last month, and this topic goes back a couple of years!). I have published a new version of the module which should fix this problem anyway.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!