当前位置: 首页>>代码示例>>PHP>>正文


PHP Braintree_TransparentRedirect::parseAndValidateQueryString方法代码示例

本文整理汇总了PHP中Braintree_TransparentRedirect::parseAndValidateQueryString方法的典型用法代码示例。如果您正苦于以下问题:PHP Braintree_TransparentRedirect::parseAndValidateQueryString方法的具体用法?PHP Braintree_TransparentRedirect::parseAndValidateQueryString怎么用?PHP Braintree_TransparentRedirect::parseAndValidateQueryString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Braintree_TransparentRedirect的用法示例。


在下文中一共展示了Braintree_TransparentRedirect::parseAndValidateQueryString方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: confirm

 public function confirm($queryString)
 {
     $params = Braintree_TransparentRedirect::parseAndValidateQueryString($queryString);
     $confirmationKlasses = array(Braintree_TransparentRedirect::CREATE_TRANSACTION => 'Braintree_TransactionGateway', Braintree_TransparentRedirect::CREATE_CUSTOMER => 'Braintree_CustomerGateway', Braintree_TransparentRedirect::UPDATE_CUSTOMER => 'Braintree_CustomerGateway', Braintree_TransparentRedirect::CREATE_PAYMENT_METHOD => 'Braintree_CreditCardGateway', Braintree_TransparentRedirect::UPDATE_PAYMENT_METHOD => 'Braintree_CreditCardGateway');
     $confirmationGateway = new $confirmationKlasses[$params["kind"]]($this->_gateway);
     return $confirmationGateway->_doCreate('/transparent_redirect_requests/' . $params['id'] . '/confirm', array());
 }
开发者ID:buga1234,项目名称:buga_segforours,代码行数:7,代码来源:TransparentRedirectGateway.php

示例2: createFromTransparentRedirect

 /**
  *
  * @access public
  * @param array $attribs
  * @return object
  */
 public static function createFromTransparentRedirect($queryString)
 {
     trigger_error("DEPRECATED: Please use Braintree_TransparentRedirectRequest::confirm", E_USER_NOTICE);
     $params = Braintree_TransparentRedirect::parseAndValidateQueryString($queryString);
     return self::_doCreate('/transactions/all/confirm_transparent_redirect_request', array('id' => $params['id']));
 }
开发者ID:anmolview,项目名称:yiidemos,代码行数:12,代码来源:Transaction.php

示例3: updateFromTransparentRedirect

 /**
  * update a customer from a TransparentRedirect operation
  *
  * @access public
  * @param array $attribs
  * @return object
  */
 public function updateFromTransparentRedirect($queryString)
 {
     trigger_error("DEPRECATED: Please use Braintree_TransparentRedirectRequest::confirm", E_USER_NOTICE);
     $params = Braintree_TransparentRedirect::parseAndValidateQueryString($queryString);
     return $this->_doUpdate('post', '/customers/all/confirm_transparent_redirect_request', array('id' => $params['id']));
 }
开发者ID:beevo,项目名称:disruptivestrong,代码行数:13,代码来源:CustomerGateway.php

示例4: confirm

 public static function confirm($queryString)
 {
     $params = Braintree_TransparentRedirect::parseAndValidateQueryString($queryString);
     $confirmationKlasses = array(Braintree_TransparentRedirect::CREATE_TRANSACTION => 'Braintree_Transaction', Braintree_TransparentRedirect::CREATE_CUSTOMER => 'Braintree_Customer', Braintree_TransparentRedirect::UPDATE_CUSTOMER => 'Braintree_Customer', Braintree_TransparentRedirect::CREATE_PAYMENT_METHOD => 'Braintree_CreditCard', Braintree_TransparentRedirect::UPDATE_PAYMENT_METHOD => 'Braintree_CreditCard');
     return call_user_func(array($confirmationKlasses[$params["kind"]], '_doCreate'), '/transparent_redirect_requests/' . $params['id'] . '/confirm', array());
 }
开发者ID:anmolview,项目名称:yiidemos,代码行数:6,代码来源:TransparentRedirect.php


注:本文中的Braintree_TransparentRedirect::parseAndValidateQueryString方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。