kiranpatil353 / google-checkout-php-sample-code

Automatically exported from code.google.com/p/google-checkout-php-sample-code
0 stars 0 forks source link

Wrong object name in responsehandlerdemo.php #75

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Simply start your piece of code by modifying the Checkout API integration demo 
available in the package, responsehandlerdemo.php

What is the expected output? What do you see instead?
You should see the actions handled by the switch statement, but it never gets 
past the object initialization.

What version of the product are you using? On what operating system?
Checkout PHP V1.3.3
Debian 6 (but it would be the same anywhere)

Please provide any additional information below.
This is because on line 53 there is a 'GRequest' instead of a 'Grequest'; 
different casing in PHP implies different objects and so the program fails 
because of a method call to an object.

Original issue reported on code.google.com by albertom...@gmail.com on 19 Apr 2013 at 9:04

Attachments: