【问题标题】:PayPal mass pay transaction fee - Is there any other way to do payment with PayPal without transaction fee?PayPal 批量支付交易费 - 有没有其他方法可以使用 PayPal 进行支付而无需支付交易费?
【发布时间】:2016-12-22 18:48:16
【问题描述】:

在我的场景中,我必须使用他们的 PayPal 电子邮件 ID 向我的员工付款,而我正在使用 PayPal Mass Pay 进行此操作。我面临的问题是从商家账户中扣除 2% 的交易费。我必须在没有交易费和用户交互的情况下做到这一点。 有没有其他方式可以不用支付手续费用 PayPal 付款?

我尝试过 PayPal 自适应支付,但不适合我的场景。

【问题讨论】:

  • 我投票结束这个问题,因为它比 SO 更适合 PayPal 支持。

标签: paypal payment-gateway paypal-sandbox payment paypal-adaptive-payments


【解决方案1】:

如果您使用“个人”或现在称为“朋友和家人”的付款方式发送现金资金(PayPal 或银行账户余额),则无需支付任何费用。

这可以使用Adaptive Payments API 来实现,特别是Pay API 将paymentType 参数设置为PERSONAL。

【讨论】:

    【解决方案2】:

    解决方案:

    $ch = curl_init();
    
    curl_setopt($ch, CURLOPT_URL, "https://svcs.sandbox.paypal.com/AdaptivePayments/Pay");
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, "actionType=PAY&paymentType=PERSONAL&senderEmail=xx@x.com&cancelUrl=xxx.com&currencyCode=USD&receiverList.receiver(0).email=xxx@x.com&receiverList.receiver(0).amount=10.00&requestEnvelope.errorLanguage=en_US&returnUrl=xx.com");
    curl_setopt($ch, CURLOPT_POST, 1);
    
    $headers = array();
    $headers[] = "X-Paypal-Security-Userid: xxxxxxxxxxxxxxxxxxxxx";
    $headers[] = "X-Paypal-Security-Password: xxxxxxxxxxxxxxxxxx";
    $headers[] = "X-Paypal-Security-Signature: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
    $headers[] = "X-Paypal-Request-Data-Format: NV";
    $headers[] = "X-Paypal-Response-Data-Format: NV";
    $headers[] = "X-Paypal-Application-Id: APP-xxxxxxxxxxxxxxx";
    curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
    curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false);
    echo $result = curl_exec($ch);
    if (curl_errno($ch)) {
        echo 'Error:' . curl_error($ch);
    }
    curl_close ($ch);
    

    【讨论】:

    • @AndrewAngell 根据此代码接收者账户支付交易费用。任何人都不必付费的解决方案?
    猜你喜欢
    • 2016-10-18
    • 1970-01-01
    • 2018-02-10
    • 2013-12-28
    • 2015-07-06
    • 2015-07-28
    • 2013-09-10
    • 1970-01-01
    • 2012-06-28
    相关资源
    最近更新 更多