CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Collaborate on Improving Google Checkout?
Pages: [1]

Author Topic: Collaborate on Improving Google Checkout?  (Read 1177 times)

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Collaborate on Improving Google Checkout?
March 09, 2009, 04:44:18 am
It seems to me that Google Checkout flow from CiviCRM could be improved using Google's <digital-content> sub-tag to <item>

I like some of Google's features, but there are two rubs.  It expects that we are "shipping" something, but we're not.  It also doesn't redirect back to our site.  Tagging the transaction as <digital-content> would remove the shipping portion of the transaction.  Further, using the <description> tag as a sub-tag to <digital-content> would make Google display a link instructing the client to click to complete the registration or donation, which would route back to the "thank you" screen.

I've posted an improvement issue and intend to work on a patch to Google.php.  Anyone else interested in collaborating on this?
Lead Developer, C3 Design.
Twitter: @FatherShawn

Peter Frouman

  • Guest
Re: Collaborate on Improving Google Checkout?
April 19, 2009, 08:25:36 pm
Although my PHP skills are limited and I'm just getting started with using CiviCRM, I would definitely be interested in collaborating on improving Google Checkout integration. 

I have found that changing "cws/v2/Merchant/" to "cws/v2/Donations/" in CRM/Core/Payment/Google.php (and also in packages/Google/library/googlecart.php - although it may not actually be necessary to change it there) results in Google processing the payment as a donation and not as an order that requires shipping.  It would be ideal if this could be set as configurable option somewhere (either in Payment Processor configuration or in the Contribution Pages configuration).   Of course, for a payment that is not a donation and does not require shipping you would want to use something else such as the digital-content tag you mentioned. 

http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API_Guide_for_Nonprofit_Organizations.html has a lot of useful information and there is also http://code.google.com/apis/checkout/developer/Google_Checkout_Beta_Subscriptions.html which could be used for pledges and other recurring payments.

« Last Edit: April 19, 2009, 08:28:25 pm by Peter Frouman »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Collaborate on Improving Google Checkout?

This forum was archived on 2017-11-26.