Export to GitHub

google-checkout-java-sdk - issue #1

Sandbox URL hardcoded in DeliverOrderRequest.java


Posted on Jul 25, 2007 by Quick Lion

What steps will reproduce the problem? 1. Change from sandbox to production 2. DeliverOrder Request

What is the expected output? What do you see instead? Delivers the order Error Merchant not found

What version of the product are you using? On what operating system? JavaCheckoutRefImpl-0.7.zip

Comment #1

Posted on Jul 25, 2007 by Quick Lion

Change:

public String getPostUrl() { return " https://sandbox.google.com/checkout/cws/v2/Merchant/" + merchantConstants.getMerchantId() + "/request"; }

To:

public String getPostUrl() { return merchantConstants.getRequestUrl(); }

In:

DeliverOrderRequest.java

Comment #2

Posted on Jul 26, 2007 by Happy Bird

Valid bug, fixed by incorporating the suggested change.

Status: Fixed

Labels:
Type-Defect Priority-Medium