douchang8219 2016-05-04 14:13
浏览 20

Paypal链式付款付款摘要说明

I'm currently using Paypal Adaptive Payments API to generate a sale where there is a primary receiver and us, the secondary receiver where we take commission. As you can see from the screen shot, the Description Field is Showing the 'personal' name of the account holder of the secondary receiver. Does anyone know how to control the description field in the payment screen? I've checked a few of the answers on here but nothing works for me.

This is the url we are creating (which returns a PayKey):

https://svcs.paypal.com/AdaptivePayments/Pay
actionType=CREATE
&clientDetails.applicationId='.$appID.'
&clientDetails.ipAddress='.$_SERVER['REMOTE_ADDR'].'
&currencyCode=GBP
&invoiceId='.$booking_id.'
&feesPayer=PRIMARYRECEIVER
&receiverList.receiver(0).amount='.$pay_primary.'
&receiverList.receiver(0).email='.$email_1.'
&receiverList.receiver(0).primary=true
&receiverList.receiver(1).amount='.$commission.'
&receiverList.receiver(1).email='.$email_2.'
&receiverList.receiver(1).primary=false
&requestEnvelope.detailLevel=ReturnAll
&requestEnvelope.errorLanguage=en_GB
&returnUrl='.$pp_return_url.'
&cancelUrl='.$pp_cancel_url.';

enter image description here

  • 写回答

1条回答 默认 最新

  • dongyuanguang3893 2016-05-04 14:52
    关注

    You can pass description in memo variable e.g

    https://svcs.paypal.com/AdaptivePayments/Pay
    actionType=CREATE
    &clientDetails.applicationId='.$appID.'
    &clientDetails.ipAddress='.$_SERVER['REMOTE_ADDR'].'
    &currencyCode=GBP
    &invoiceId='.$booking_id.'
    &feesPayer=PRIMARYRECEIVER
    &receiverList.receiver(0).amount='.$pay_primary.'
    &receiverList.receiver(0).email='.$email_1.'
    &receiverList.receiver(0).primary=true
    &receiverList.receiver(1).amount='.$commission.'
    &receiverList.receiver(1).email='.$email_2.'
    &receiverList.receiver(1).primary=false
    &requestEnvelope.detailLevel=ReturnAll
    &requestEnvelope.errorLanguage=en_GB
    &returnUrl='.$pp_return_url.'
    &cancelUrl='.$pp_cancel_url.'
    &memo=What about this payment is;
    
    评论

报告相同问题?

悬赏问题

  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看