문제

I'm trying to implement Google Wallet to a project I'm working on.
When I press the button that's supposed to go to the sandbox checkout website, an error is generated.

<error xmlns="http://checkout.google.com/schema/2" serial-number="f9090666-5c3e-4e40-b1db-aeba824aa7d6">
    <error-message>
Malformed URL component: expected agent:, but got Merchant
    </error-message>
</error>

my code is

<div>
    <form method="POST" action="https://sandbox.google.com/checkout/api/checkout/v2/checkoutForm/Merchant/xxxxxxxxxxxxxxxxxxxx">
        <input type="image" name="Google Checkout" alt="Fast checkout through Google" src="https://checkout.google.com/buttons/checkout.gif?merchant_id=xxxxxxxxxxxxxxxxxxxx&w=180&h=46&style=white&variant=text&loc=en_US">
    </form>
</div>
도움이 되었습니까?

해결책

You should know that Google Checkout will be retired in 11/2013, a couple of months away...

As far as your code is concerned, assuming you're still curious, see HTML documentation

If you want to learn about other/newer payment solutions from Google, you'll find them at Google Developers Commerce APIs

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top