test
Create Order - OpenPayU v2
ERROR_ORDER_NOT_UNIQUE:

Request

array(11) { ["notifyUrl"]=> string(37) "http://payu.smithstudio.pl/notify.php" ["continueUrl"]=> string(0) "" ["customerIp"]=> string(9) "127.0.0.1" ["merchantPosId"]=> string(6) "193533" ["description"]=> string(40) "DoĊ‚adowanie konta w serwisie dlugi.info" ["currencyCode"]=> string(3) "PLN" ["totalAmount"]=> int(300) ["extOrderId"]=> int(934328) ["products"]=> array(1) { [0]=> array(3) { ["name"]=> string(8) "Product1" ["unitPrice"]=> int(300) ["quantity"]=> int(1) } } ["settings"]=> array(1) { ["invoiceDisabled"]=> bool(true) } ["buyer"]=> array(4) { ["email"]=> string(9) "dd@ddd.pl" ["phone"]=> string(9) "123123123" ["firstName"]=> string(3) "Jan" ["lastName"]=> string(8) "Kowalski" } }
Important data from response
Order status ERROR_ORDER_NOT_UNIQUE
Order id GJ34RZJK9Q260712GUEST000P01
Redirect Uri

Response

object(OpenPayU_Result)#1 (9) { ["status":"OpenPayU_Result":private]=> string(22) "ERROR_ORDER_NOT_UNIQUE" ["error":"OpenPayU_Result":private]=> string(0) "" ["success":"OpenPayU_Result":private]=> int(0) ["request":"OpenPayU_Result":private]=> string(0) "" ["response":"OpenPayU_Result":private]=> object(stdClass)#3 (3) { ["status"]=> object(stdClass)#4 (4) { ["statusCode"]=> string(22) "ERROR_ORDER_NOT_UNIQUE" ["code"]=> string(3) "110" ["codeLiteral"]=> string(16) "ORDER_NOT_UNIQUE" ["statusDesc"]=> string(42) "Order with given extOrderId already exists" } ["orderId"]=> string(27) "GJ34RZJK9Q260712GUEST000P01" ["extOrderId"]=> string(6) "934328" } ["sessionId":"OpenPayU_Result":private]=> string(0) "" ["message":"OpenPayU_Result":private]=> string(0) "" ["countryCode":"OpenPayU_Result":private]=> string(0) "" ["reqId":"OpenPayU_Result":private]=> string(0) "" }
?>