Skip to content

Instantly share code, notes, and snippets.

@stefanosala
Created September 13, 2011 13:05
Show Gist options
  • Save stefanosala/1213764 to your computer and use it in GitHub Desktop.
Save stefanosala/1213764 to your computer and use it in GitHub Desktop.
public function getArgs() {
// ritorna gli argomenti opportunamente strutturati per una chiamata WSDL
return array(
'msisdn' => $this->args['telephone'],
'fieldMap' => array(
'VAS_PP_USER.CUSTOMERS.BIRTHDATE' => array(
$this->args['birthdate'], 'Date', '='
)
),
'merchantId' => $this->args['merchantId'],
'productCode' => $this->args['productCode'],
'amount' => $this->args['amount'],
'currency' => 'EUR',
'channel' => 'WEB', // WEB o WAP, non ha senso renderlo configurabile.
'transactionId' => $this->args['transactionId'],
'action' => 'SUBMIT',
'productName' => $this->args['productName'],
'productCategory' => 1, // non variabile
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment