1
votes

I want to display google checkout at one page checkout page in magento, so that customer will choose the payment options either he choose google checkout or he choose other like paypal.

I am using magento 1.7.0.2

2

2 Answers

1
votes

You need to enable google checkout from Admin.

Go to System->Configuration->on left side select sales->google API Than select google checkout.

You also need to create sandbox account for google checkout on google.

0
votes

Add this lil snippet of code on your checkout page:

php echo $this->getLayout()->createBlock('googlecheckout/link')->setTemplate('googlecheckout/link.phtml')->toHtml(); ?>

add '<' to the beginning of the code, stackoverflow removes it