Difference between revisions of "VbzCart/v1/class/vcCartDataManager/CaptureBillingPage"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
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|class|vcPageContent_ckout}}::'''CapturePage'''() [protected] calls...
+
==Call Chains==
** {{l/version|class|vcPageContent_ckout}}::'''CaptureBilling'''() [protected], which calls...
+
* {{l/version/method|vcPageContent_ckout|CapturePage}}() [protected] calls...
*** {{hilite|$this->'''CaptureBillingPage'''()}}, which calls...
+
** {{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

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);
}