Difference between revisions of "VbzCart/v1/class/vcCartDataManager/CaptureBillingPage"
< VbzCart | v1/class | vcCartDataManager
Jump to navigation
Jump to search
(Created page with "{{page/code/class/method}} * {{l/version|class|vcPageContent_ckout}}::'''CapturePage'''() [protected] calls... ** {{l/version|class|vcPageContent_ckout}}::'''CaptureBilling'''...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{page/code/class/method}} | {{page/code/class/method}} | ||
− | * {{l/version| | + | ==Call Chains== |
− | ** {{l/version| | + | * {{l/version/method|vcPageContent_ckout|CapturePage}}() [protected] calls... |
− | *** {{hilite| | + | ** {{l/version/method|vcPageContent_ckout|CaptureBilling}}() [protected], which calls... |
+ | *** {{l/version/method|vcCartDataManager|GetBuyerObject}}() | ||
+ | *** {{hilite|{{l/version/method|vcCartDataManager|CaptureBillingPage}}()}}, which calls... | ||
**** {{l/version/method|vcCartData_Buyer|CapturePayment}}() | **** {{l/version/method|vcCartData_Buyer|CapturePayment}}() | ||
+ | *** {{l/version/method|vcCartDataManager|UpdateBlob}}($oCD_Buyer) | ||
+ | ==Code== | ||
+ | <source lang=php> | ||
+ | public function CaptureBillingPage() { | ||
+ | //echo 'GOT TO CaptureBillingPage()<br>'; | ||
+ | //$oCDMgr = $this->FieldsManager(); | ||
+ | $oCDMgr = $this; | ||
+ | $oCDMgr->FetchBlob(); | ||
+ | |||
+ | $oCD_Buyer = $oCDMgr->GetBuyerObject(); | ||
+ | $oCD_Buyer->CapturePayment(); // card #/exp, and I *think* name/address | ||
+ | $this->AddMissing($oCD_Buyer->GetMissingArray()); | ||
+ | |||
+ | // calculate resulting blob | ||
+ | $oCDMgr->UpdateBlob($oCD_Buyer); | ||
+ | }</source> |
Latest revision as of 22:38, 21 April 2019
Call Chains
- vcPageContent_ckout::CapturePage() [protected] calls...
- vcPageContent_ckout::CaptureBilling() [protected], which calls...
- vcCartDataManager::GetBuyerObject()
- vcCartDataManager::CaptureBillingPage(), which calls...
- vcCartDataManager::UpdateBlob($oCD_Buyer)
- vcPageContent_ckout::CaptureBilling() [protected], which calls...
Code
public function CaptureBillingPage() {
//echo 'GOT TO CaptureBillingPage()<br>';
//$oCDMgr = $this->FieldsManager();
$oCDMgr = $this;
$oCDMgr->FetchBlob();
$oCD_Buyer = $oCDMgr->GetBuyerObject();
$oCD_Buyer->CapturePayment(); // card #/exp, and I *think* name/address
$this->AddMissing($oCD_Buyer->GetMissingArray());
// calculate resulting blob
$oCDMgr->UpdateBlob($oCD_Buyer);
}