Re: svn commit: r776285 - /ofbiz/trunk/specialpurpose/googlecheckout/config/googleCheckout.properties

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r776285 - /ofbiz/trunk/specialpurpose/googlecheckout/config/googleCheckout.properties

Ashish Vijaywargiya
The simplest way to test your Merchant account for sandbox instance is to
use the below command  (change sandbox to checkout in case of Production
instance)

curl -d '<hello
xmlns="http://checkout.google.com/schema/2"/>'https://*MERCHANT_ID*:*MERCHANT_KEY*@sandbox.google.com/checkout/api/checkout/v2/request/Merchant/*MERCHANT_ID*

Change the MerchantId & Merchant key associated with your sandbox account.

The response of the above command will be something like shown below in case
of success:

<?xml version="1.0" encoding="UTF-8"?>
<bye xmlns="http://checkout.google.com/schema/2"
   serial-number="c567262a-dd13-4084-b8d3-6ccfbbc69d03" />

--
Ashish

On Tue, May 19, 2009 at 5:23 PM, <[hidden email]> wrote:

> Author: ashish
> Date: Tue May 19 11:53:54 2009
> New Revision: 776285
>
> URL: http://svn.apache.org/viewvc?rev=776285&view=rev
> Log:
> The sandbox & production URL changed.
>
> Modified:
>
>  ofbiz/trunk/specialpurpose/googlecheckout/config/googleCheckout.properties
>
> Modified:
> ofbiz/trunk/specialpurpose/googlecheckout/config/googleCheckout.properties
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlecheckout/config/googleCheckout.properties?rev=776285&r1=776284&r2=776285&view=diff
>
> ==============================================================================
> ---
> ofbiz/trunk/specialpurpose/googlecheckout/config/googleCheckout.properties
> (original)
> +++
> ofbiz/trunk/specialpurpose/googlecheckout/config/googleCheckout.properties
> Tue May 19 11:53:54 2009
> @@ -35,9 +35,9 @@
>
>  ####Google Specific Parameters####
>  ##Production URL
> -#basePostUrl = http://checkout.google.com/checkout/cws/v2/Merchant/
> +#basePostUrl<http://checkout.google.com/checkout/cws/v2/Merchant/%0A+#basePostUrl>=
> https://checkout.google.com/api/checkout/v2/merchantCheckout/Merchant/
>  ##Sandbox URL
> -basePostUrl = https://sandbox.google.com/checkout/cws/v2/Merchant/
> +basePostUrl =
> https://sandbox.google.com/checkout/api/checkout/v2/merchantCheckout/Merchant/
>  checkout = /checkout
>  request = /request
>  diagnose = /diagnose
>
>
>