Closed GoogleCodeExporter closed 8 years ago
This seems to be more of a feature request than a bug.
Original comment by peng.y...@gmail.com
on 7 May 2008 at 4:54
Yeah, sorry... I don't know how to do feature requests.
Original comment by stein.j...@gmail.com
on 7 May 2008 at 4:56
I don't know if diffs are useful for you, but here's the diff for this
enhancement:
--- googlecart.php
+++ (clipboard)
@@ -957,7 +960,7 @@
* @return array with the returned http status code (200 if OK) in index 0
* and the redirect url returned by the server in index 1
*/
- function CheckoutServer2Server($proxy=array(), $certPath='') {
+ function CheckoutServer2Server($proxy=array(), $certPath='', $die=true) {
ini_set('include_path', ini_get('include_path').PATH_SEPARATOR.'.');
require_once('library/googlerequest.php');
$GRequest = new GoogleRequest($this->merchant_id,
@@ -968,7 +971,7 @@
$GRequest->SetProxy($proxy);
$GRequest->SetCertificatePath($certPath);
- return $GRequest->SendServer2ServerCart($this->GetXML());
+ return $GRequest->SendServer2ServerCart($this->GetXML(), $die);
}
/**
Original comment by stein.j...@gmail.com
on 8 May 2008 at 8:02
Original comment by peng.y...@gmail.com
on 16 May 2008 at 10:37
Original issue reported on code.google.com by
stein.j...@gmail.com
on 7 May 2008 at 4:30