コード例 #1
0
ファイル: billing_service.php プロジェクト: vazahat/dudex
 public function registerRebillSale(OW_BillingAdapter $adapter, BOL_BillingSale $parentSale, $rebillTransId)
 {
     $parentSale->id = null;
     $parentSale->transactionUid = $rebillTransId;
     $gateway = $this->billingGatewayDao->findById($parentSale->gatewayId);
     $saleId = $this->initSale($parentSale, $gateway->gatewayKey);
     $sale = $this->getSaleById($saleId);
     $this->prepareSale($adapter, $sale);
     $sale = $this->getSaleById($saleId);
     $this->verifySale($adapter, $sale);
     return $saleId;
 }