[PHP-WIN] GPayments API
Hi guys, I was just wonderig if anyone on the list has ever done a GPayments integration with PHP before, or maybe even written a reuseable API to interface with ActiveMerchant. I had a look at the sample ASP (COM Object) and Java (JSP) API's that are provided by GPayments, but they're not much help for me at the moment. So if anybody on here has ever done an integration of GPayment (even the redirection model) I'd be grateful for any tips. Kind regards, Ben -- Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Weird variable issue - variable not getting assigned
Hi everyone, I have a very puzzling variable issue going on where I have a function in a class (Database class) that returns the output of a query from my users table. In the calling function of another class (session class), I am trying to assign each element of the received array to a variable declared at the top of my class, such as this scaled down example: Class session{ var $userinfo; var $username; var $userid; $this->userinfo = $db->GetUserInfo($_SESSION['username']); $this->username = $this->userinfo['username']; $this->userid = $this->userinfo['userid']; }; I know I'm getting data back in my array. I have a running trace log. I've determined that I can do an assignment such as: $this->username = "testusername"; Something is preventing the assignment from the array for some reason. Any ideas? TIA, Jim -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php