eugenevdm
02-23-07, 12:18 PM
In the existing HOWTO it says the $params["amount"] contains the invoice amount. However, we're missing amount, invoice ID and our output actually contains all different fields?:
array(18) { ["active"]=> string(1) "1" ["type"]=> string(8) "Invoices" ["visible"]=> string(2) "on" ["name"]=> string(10) "paygatesno" ["vendornumber"]=> string(0) "" ["demomode"]=> string(0) "" ["companyname"]=> string(15) "Snowball Effect" ["systemurl"]=> string(31) "http://new.snowball.co.za/order" ["currency"]=> string(3) "ZAR" ["langpaynow"]=> string(7) "Pay Now" ["description"]=> string(64) "Snowball Effect (Linux Intermediate Hosting) - 31231232321.co.za" ["firstpaymentamount"]=> string(5) "96.35" ["recurringamount"]=> string(5) "39.00" ["billingcycle"]=> string(7) "Monthly" ["relid"]=> string(10) "0000000088" ["returnurl"]=> string(92) "http://new.snowball.co.za/order/subscriptionsuccess.php?PHPSESSID=pdjdtrbktl8s9tgt qhsdkuj172" ["clientdetails"]=> array(18) { ["firstname"]=> string(6) "Eugene" ["lastname"]=> string(13) "van der Merwe" ["companyname"]=> string(8) "Snowball" ["email"]=> string(21) "[email protected]" ["address1"]=> string(13) "P.O. Box 1369" ["address2"]=> string(0) "" ["city"]=> string(12) "Stellenbosch" ["state"]=> string(12) "Western Cape" ["postcode"]=> string(4) "7599" ["country"]=> string(2) "ZA" ["phonenumber"]=> string(12) "021 880-2228" ["notes"]=> string(0) "" ["password"]=> string(8) "password" ["status"]=> string(6) "Active" ["credit"]=> string(4) "0.00" ["taxexempt"]=> string(0) "" ["lastlogin"]=> string(74) "Date: 23/02/2007 15:00
IP Address: 196.25.207.14
Host: 196.25.207.14" ["customfields1"]=> NULL } ["proratadays"]=> float(37) }
array(18) { ["active"]=> string(1) "1" ["type"]=> string(8) "Invoices" ["visible"]=> string(2) "on" ["name"]=> string(10) "paygatesno" ["vendornumber"]=> string(0) "" ["demomode"]=> string(0) "" ["companyname"]=> string(15) "Snowball Effect" ["systemurl"]=> string(31) "http://new.snowball.co.za/order" ["currency"]=> string(3) "ZAR" ["langpaynow"]=> string(7) "Pay Now" ["description"]=> string(64) "Snowball Effect (Linux Intermediate Hosting) - 31231232321.co.za" ["firstpaymentamount"]=> string(5) "96.35" ["recurringamount"]=> string(5) "39.00" ["billingcycle"]=> string(7) "Monthly" ["relid"]=> string(10) "0000000088" ["returnurl"]=> string(92) "http://new.snowball.co.za/order/subscriptionsuccess.php?PHPSESSID=pdjdtrbktl8s9tgt qhsdkuj172" ["clientdetails"]=> array(18) { ["firstname"]=> string(6) "Eugene" ["lastname"]=> string(13) "van der Merwe" ["companyname"]=> string(8) "Snowball" ["email"]=> string(21) "[email protected]" ["address1"]=> string(13) "P.O. Box 1369" ["address2"]=> string(0) "" ["city"]=> string(12) "Stellenbosch" ["state"]=> string(12) "Western Cape" ["postcode"]=> string(4) "7599" ["country"]=> string(2) "ZA" ["phonenumber"]=> string(12) "021 880-2228" ["notes"]=> string(0) "" ["password"]=> string(8) "password" ["status"]=> string(6) "Active" ["credit"]=> string(4) "0.00" ["taxexempt"]=> string(0) "" ["lastlogin"]=> string(74) "Date: 23/02/2007 15:00
IP Address: 196.25.207.14
Host: 196.25.207.14" ["customfields1"]=> NULL } ["proratadays"]=> float(37) }