Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Mar 2008, 21:07
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
Help with Google Checkout API

I'm working on a Google Checkout API. Right now I'm stuck with the settings field in the paymentapi table. All I need are two fields -- one for the Vendor ID and one for the Merchant Key. I don't know how to use datastore (would love to learn).

What does this code need to look like? It doesn't work as-is:

a:3:{s:17:"google_vendorid";a:3:{s:4:"type";s:4:"text";s:5:"value";s:12:"";s:8:" validate";s:6:"string";}s:6:"google_merchantkey";a:3:{s:4:"type";s:4:"text";s:5: "value";s:16:"";s:8:"validate";s:6:"string";}}

Thanks!

Last edited by ChurchMedia; 10 Mar 2008 at 21:16.
Reply With Quote
  #2  
Old 10 Mar 2008, 21:16
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Needs to be unserialize.
Reply With Quote
  #3  
Old 10 Mar 2008, 23:06
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
I didn't actually serialize it, though. I just modified it from the authnet api info. I thought that the subscriptions.php script in the admincp would unserialize it.

This is the way it looks:
Screenshot - 3_10_2008 , 5_04_06 PM.png

Any ideas?

(edit) Yeah, it's here:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I must not have the code right, but I don't know what to do....

Last edited by ChurchMedia; 10 Mar 2008 at 23:23.
Reply With Quote
  #4  
Old 11 Mar 2008, 00:05
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
I got it:

a:1:{s:17:"google_merchantid";a:3:{s:4:"type";s:4:"text";s:5:"value";s:10:"12345 67890";s:8:"validate";s:6:"string";}}

Reply With Quote
  #5  
Old 11 Mar 2008, 00:45
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Real name: Josh Arcadia
Would be 3.7.x Integrated Google CheckOut? [Am I missing something?]
__________________
. █│║▌│█│║▌║│█║▌│║║█║
Reply With Quote
  #6  
Old 11 Mar 2008, 00:50
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
Originally Posted by iogames View Post
Would be 3.7.x Integrated Google CheckOut? [Am I missing something?]
Not so far! I wish it was. If the vB team plans to include it, I'd like to know!

I've gotten as far as putting together the class_google.php file, but I'm stuck again.
Reply With Quote
  #7  
Old 08 Jun 2008, 21:19
Chewy954 Chewy954 is offline
 
Join Date: Apr 2008
Did you ever get this working?
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:39.

Layout Options | Width: Wide Color: