VbzCart/v1/class/vcCartDataManager/CaptureBillingPage: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Created page with "{{page/code/class/method}} * {{l/version|class|vcPageContent_ckout}}::'''CapturePage'''() [protected] calls... ** {{l/version|class|vcPageContent_ckout}}::'''CaptureBilling'''..." |
No edit summary |
||
| (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
{{#set:in project=VbzCart}}{{#set:thing type=VbzCart/class method}}{{#set:class name=vcCartDataManager}}{{#set:function name=CaptureBillingPage}}{{#set:version=v1}}
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);
}
