nBill Community nBill Home Page
05/February/2012, 03:59:36 PM *
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] 2
  Print  
Author Topic: Re: New Payment Gateway - Google Checkout  (Read 5792 times)
DuwayneWebPro
Jr. Member
**
Offline Offline

Posts: 33


I DONT CRUISE CONTROL, I CONTROL THE CRUISE


View Profile WWW
« on: 09/April/2008, 05:23:09 AM »

for reference, by default the google checkout configuration for the field checkouturl is;
https://sandbox.google.com/checkout/api/checkout/v2/merchantCheckout/Merchant/

from this link on google; http://code.google.com/apis/checkout/developer/index.html#urls_for_posting
live settings should be;
https://checkout.google.com/api/checkout/v2/merchantCheckout/Merchant/

by default the api url is;
https://sandbox.google.com/checkout/api/checkout/v2/request/Merchant/

live settings should be;
https://checkout.google.com/api/checkout/v2/request/Merchant/

i figured the above out, google says to put the merchant id after the urls however this gateway does it for you.
« Last Edit: 09/April/2008, 05:30:00 AM by DuwayneWebPro » Logged

DuwayneWebPro
Jr. Member
**
Offline Offline

Posts: 33


I DONT CRUISE CONTROL, I CONTROL THE CRUISE


View Profile WWW
« Reply #1 on: 09/April/2008, 05:39:26 AM »

does anyone know where i can get support for this gateway? it all works however i get an nbill error via email which can be seen below. the developer site doesn't have a support forum.

Code:
An error has occurred in nBill (front end)! Details of the error are given below:

Billing Version: 1.2.0
Service Pack: 1
Domain: https://www.XXXXX.com
Date/Time: 08-Apr-2008 09:04:20 pm
IP Address: XXXXX
Page: /index.php?option=com_netinvoice&action=gateway&gateway=google&task=return
Referrer:
Error Log ID: 15
Error Message: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array File Name: /home/XXXXX/public_html/components/com_netinvoice/gateway/google/google.php
Line Number: 308
PHP Version (and OS): 5.2.3 (Linux)
Logged

netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,411


View Profile
« Reply #2 on: 10/April/2008, 09:54:11 AM »

I have informed the developer, but I also stressed that he is not obliged to provide support as the code was donated freely. If he is unable to help, I will take a look, but it might take me a few days.
Logged
rgjoyce
Jr. Member
**
Offline Offline

Posts: 15


View Profile
« Reply #3 on: 17/April/2008, 09:37:11 AM »

Hi,
  can you log into our site and create a support ticket, there we can exchange login details so that we can debug the gateway and fix this problem for you.
http://www.osdcs.com
Logged
DuwayneWebPro
Jr. Member
**
Offline Offline

Posts: 33


I DONT CRUISE CONTROL, I CONTROL THE CRUISE


View Profile WWW
« Reply #4 on: 17/April/2008, 02:29:53 PM »

no problem! i will post the result! thanks!
Logged

Gary
Jr. Member
**
Offline Offline

Posts: 9


View Profile
« Reply #5 on: 13/May/2008, 10:41:03 AM »

I just keep getting the following message when I click to pay an invoice:

My Account
An error has occurred.
Unknown error: 0
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,411


View Profile
« Reply #6 on: 17/May/2008, 06:14:11 PM »

I will take a look as soon as I get the chance.
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,411


View Profile
« Reply #7 on: 21/May/2008, 04:28:53 PM »

I just tested it out, and it seemed to work ok for me, although I did notice a couple of bugs in the code, so I have uploaded a new version of the gateway, available here: http://www.nbill.co.uk/component/option,com_docman/Itemid,10/task,cat_view/gid,13/

If the problem persists, please raise a support ticket, as I will need access to your site to be able to see what is causing the error.
Logged
Gary
Jr. Member
**
Offline Offline

Posts: 9


View Profile
« Reply #8 on: 21/May/2008, 04:35:07 PM »

No, it still doesn't work. Weird.

You had to change something on my site when I first started taking payment too. That was with PayPal.

I will raise a ticket. Thanks.
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,411


View Profile
« Reply #9 on: 02/June/2008, 04:42:53 PM »

For the benefit of other readers, all that was required in this case was to change the 'Use CURL' setting on the gateway settings page to 'Y', as the server concerned was configured not to allow socket connections.
Logged
pmdx
Jr. Member
**
Offline Offline

Posts: 20


View Profile
« Reply #10 on: 06/June/2008, 04:59:09 PM »

I am getting the error below when ever I attempt to use this payment gateway, for the life of me I cannot figure out what to do , has anyone come across this before?


An error has occurred.
Error parsing XML; message from parser is: The element type "items" must be terminated by the matching end-tag "". 


Any help would be greatly appreciated.
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,411


View Profile
« Reply #11 on: 07/June/2008, 09:36:54 AM »

Have you modified the gateway at all? It sounds like the xml that is being sent to google contains an <items> tag, but no closing </items> tag.
Logged
pmdx
Jr. Member
**
Offline Offline

Posts: 20


View Profile
« Reply #12 on: 10/June/2008, 02:30:24 PM »

No I have not done anything to modify the gateway, all I have done is change the urls to reflect those at the top of this thread and setup the merchant id etc.

I am a little bit stumped as to why it is behaving like it is, I haven't entered any items tags? I am using the downloaded extension from the main page of nbill.co.uk
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,411


View Profile
« Reply #13 on: 10/June/2008, 02:59:33 PM »

Please raise a support ticket, as I will need access to your site to see what is happening.
Logged
rgjoyce
Jr. Member
**
Offline Offline

Posts: 15


View Profile
« Reply #14 on: 12/September/2008, 05:34:14 AM »

Hi all,
   I've finally found the XML error problem.
on line 46 of the /administrator/components/com_netinvoice/admin.gateway/admin.google/google.php
You will see: for($i=0;$i<sizeof($orders);$i++){
Directly after this line, enter:
if($i>0){
     $xml_data .= "<item>";
}

then save.
Logged
Pages: [1] 2
  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!