Warning: Undefined variable $transaction in /home3/unicornu/public_html/PHP/Exemplu DoPay Links.php on line 85
object(stdClass)#1 (4) {
["account"]=>
object(stdClass)#3 (6) {
["id"]=>
string(24) "N81V-JPMU-21UX-RS3N-AAFA"
["user_name"]=>
string(10) "test.cezar"
["customer_ip"]=>
string(13) "216.73.216.33"
["confirm_url"]=>
string(43) "https://unicornulroz.ro/PHP/cardConfirm.php"
["return3d_url"]=>
string(30) "https://unicornulroz.ro/about/"
["hash"]=>
string(40) "78ADDCA770B854131F53B2A172FC68E3CEE8F93D"
}
["order"]=>
object(stdClass)#5 (5) {
["id"]=>
string(32) "bf52603083dc0bdba89cb56dbbc2e761"
["description"]=>
string(27) "test adaugare link payment3"
["amount"]=>
float(0.1)
["currency"]=>
string(3) "RON"
["billing"]=>
object(stdClass)#4 (8) {
["country"]=>
string(7) "Romania"
["county"]=>
string(9) "Bucuresti"
["city"]=>
string(5) "Bacau"
["address"]=>
string(10) "asa strada"
["postal_code"]=>
string(6) "003507"
["first_name"]=>
string(9) "test link"
["phone"]=>
string(10) "0720777777"
["email"]=>
string(16) "cezar@netopia.ro"
}
}
["params"]=>
object(stdClass)#6 (1) {
["item"]=>
object(stdClass)#7 (2) {
["name"]=>
string(4) "test"
["value"]=>
string(7) "testare"
}
}
["transaction"]=>
NULL
}
Response: object(stdClass)#8 (1) {
["doPayResult"]=>
object(stdClass)#9 (5) {
["order"]=>
object(stdClass)#10 (12) {
["id"]=>
string(32) "bf52603083dc0bdba89cb56dbbc2e761"
["description"]=>
string(27) "test adaugare link payment3"
["amount"]=>
float(0.1)
["currency"]=>
string(3) "RON"
["billing"]=>
object(stdClass)#11 (9) {
["country"]=>
string(7) "Romania"
["county"]=>
string(9) "Bucuresti"
["city"]=>
string(5) "Bacau"
["address"]=>
string(10) "asa strada"
["postal_code"]=>
string(6) "003507"
["first_name"]=>
string(9) "test link"
["last_name"]=>
NULL
["phone"]=>
string(10) "0720777777"
["email"]=>
string(16) "cezar@netopia.ro"
}
["shipping"]=>
NULL
["installments"]=>
NULL
["installments_sel"]=>
NULL
["bonuspoints"]=>
NULL
["products"]=>
object(stdClass)#12 (1) {
["item"]=>
object(stdClass)#13 (9) {
["id"]=>
NULL
["name"]=>
NULL
["description"]=>
NULL
["info"]=>
NULL
["group"]=>
NULL
["amount"]=>
NULL
["currency"]=>
NULL
["quantity"]=>
NULL
["vat"]=>
NULL
}
}
["recurrence"]=>
NULL
["int_id"]=>
NULL
}
["errors"]=>
object(stdClass)#14 (4) {
["action"]=>
string(3) "new"
["code"]=>
string(1) "0"
["message"]=>
string(10) "gwApproved"
["details"]=>
NULL
}
["hash"]=>
string(40) "78ADDCA770B854131F53B2A172FC68E3CEE8F93D"
["transaction"]=>
object(stdClass)#15 (5) {
["id"]=>
NULL
["amount"]=>
float(0.1)
["currency"]=>
string(3) "RON"
["paymentUrl"]=>
string(33) "https://l.mpy.ro/gi0faa51268fd95f"
["current_payment_count"]=>
NULL
}
["params"]=>
NULL
}
}