• 注册
  • Facebook推广 Facebook推广 关注:10 内容:7

    Paypal中间站轮询接口文件

  • 查看作者
  • 打赏作者
    • 1
    • Facebook推广
    • Paypal中间站轮询接口文件

      1.zip

      wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php


      public function get_request_url( $order, $sandbox = false ) {
      		$this->endpoint    = $sandbox ? 'https://www.sandbox.paypal.com/cgi-bin/webscr?test_ipn=1&' : 'https://www.paypal.com/cgi-bin/webscr?';
      		$paypal_args       = $this->get_paypal_args( $order );
      		$paypal_args['bn'] = 'WooThemes_Cart'; // Append WooCommerce PayPal Partner Attribution ID. This should not be overridden for this gateway.
      
      		// Mask (remove) PII from the logs.
      		$mask = array(
      			'first_name'    => '***',
      			'last_name'     => '***',
      			'address1'      => '***',
      			'address2'      => '***',
      			'city'          => '***',
      			'state'         => '***',
      			'zip'           => '***',
      			'country'       => '***',
      			'email'         => '***@***',
      			'night_phone_a' => '***',
      			'night_phone_b' => '***',
      			'night_phone_c' => '***',
      		);
       链接

      修改成自己的正品站的pay.php

      回复

      请登录之后再进行评论

      登录
    • 做任务
    • 实时动态
    • 偏好设置
    • 帖子间隔 侧栏位置: