/** * only SR: send the given order-id for the given transId to SOFORT */ function sendOrderIdToSofort($sofortApiKey, $transactionId, $orderId) { $SofortEditSr = new SofortLib_EditSr($sofortApiKey); $SofortEditSr->setTransaction($transactionId); $SofortEditSr->setOrderNumber($orderId); $SofortEditSr->sendRequest(); return true; }
private function _setupEditSr() { $SofortLib_EditSr = new SofortLib_EditSr($this->_configKey); $SofortLib_EditSr->setTransaction($this->_transactionId); return $SofortLib_EditSr; }