VbzCart/docs/v1/class/vcCartDataManager/CaptureBillingPage: Difference between revisions
< VbzCart | docs | v1/class | vcCartDataManager
Jump to navigation
Jump to search
imported>Woozle No edit summary |
imported>Woozle No edit summary |
||
Line 1: | Line 1: | ||
{{page/code/class/method}} | {{page/code/class/method}} | ||
==Call Chains== | |||
* {{l/version/method|vcPageContent_ckout|CapturePage}}() [protected] calls... | * {{l/version/method|vcPageContent_ckout|CapturePage}}() [protected] calls... | ||
** {{l/version/method|vcPageContent_ckout|CaptureBilling}}() [protected], which calls... | ** {{l/version/method|vcPageContent_ckout|CaptureBilling}}() [protected], which calls... | ||
*** {{hilite| | *** {{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> |
Revision as of 22:38, 21 April 2019
Template:Page/code/class/method
Call Chains
- Template:L/version/method() [protected] calls...
- Template:L/version/method() [protected], which calls...
- Template:L/version/method()
- Template:L/version/method(), which calls...
- Template:L/version/method($oCD_Buyer)
- Template:L/version/method() [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);
}