當前位置: 首頁>>代碼示例>>PHP>>正文


PHP EE_Transaction::gateway_response_on_transaction方法代碼示例

本文整理匯總了PHP中EE_Transaction::gateway_response_on_transaction方法的典型用法代碼示例。如果您正苦於以下問題:PHP EE_Transaction::gateway_response_on_transaction方法的具體用法?PHP EE_Transaction::gateway_response_on_transaction怎麽用?PHP EE_Transaction::gateway_response_on_transaction使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在EE_Transaction的用法示例。


在下文中一共展示了EE_Transaction::gateway_response_on_transaction方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: _get_empty_payment_obj

 /**
  * This sets up an empty EE_Payment object for the purpose of shortcode parsing.  Note that this doesn't actually get saved to the db.
  * @param \EE_Transaction $txn
  * @return \EE_Payment
  */
 private function _get_empty_payment_obj(EE_Transaction $txn)
 {
     $PMT = EE_Payment::new_instance(array('STS_ID' => EEM_Payment::status_id_pending, 'PAY_timestamp' => time(), 'PMD_ID' => $txn->payment_method_ID(), 'PAY_gateway_response' => $txn->gateway_response_on_transaction()));
     return $PMT;
 }
開發者ID:aaronfrey,項目名稱:PepperLillie-GSP,代碼行數:10,代碼來源:EE_Messages_Gateways_incoming_data.class.php

示例2: _get_empty_payment_obj

 /**
  * This sets up an empty EE_Payment object for the purpose of shortcode parsing.  Note that this doesn't actually get saved to the db.
  * @return EE_Payment 
  */
 private function _get_empty_payment_obj(EE_Transaction $txn)
 {
     $PMT = EE_Payment::new_instance(array('STS_ID' => EEM_Payment::status_id_pending, 'PAY_timestamp' => (int) current_time('timestamp'), 'PAY_gateway' => $txn->selected_gateway(), 'PAY_gateway_response' => $txn->gateway_response_on_transaction()));
     return $PMT;
 }
開發者ID:antares-ff,項目名稱:ANTARES-Test,代碼行數:9,代碼來源:EE_Messages_Gateways_incoming_data.class.php


注:本文中的EE_Transaction::gateway_response_on_transaction方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。