I'm trying to use a foreign paying system, but have difficulties in implementing this.
the Class I'm trying to modify looks like this:
class MyShop extends Shop {
var $currency = "EUR";
}
and I execute it via
$myShop = new MyShop('user', 'pass', TRUE, TRUE);
$result = $myShop->pay();
My question now is: how do I get variables from $_POST in this class? E.g I'm trying to mke the currency dynamic this way..
I already tried the solution posted here: How to grab data from post to a class
But I guess I fail miserably at OOPhp :/
Thanks anyway!