简体   繁体   English

使用自适应付款时,付款地址在贝宝屏幕中不可见

[英]shipping address is not visible in paypal screen while using adaptive payment

I am using PayPal adaptive payment. 我正在使用PayPal自适应付款。 I want to send shipping address of sender to reciever. 我想将发件人的收货地址发送给收件人。 I am doing following things 我正在做以下事情

  1. First I am getting the approval key from sender with Preapproval API 首先,我通过Preapproval API从发件人那里获得了批准密钥

  2. Then, i am using PAY Create API. 然后,我正在使用PAY Create API。

    This are the paramters 这是参数

     :actionType => "CREATE", cancelUrl: 'https://www.example.com/paypal_cancelurl', returnUrl: 'https://www.example.com/paypal_successurl', :currencyCode => "USD", :preapprovalKey => preapproval_key, :receiverList => { :receiver => [{ :amount => total, :email => reciever@example.com }] } 
  3. After getting paypal paykey from step 2, i am using Set Payment Option API . 获得后paypal paykey从第2步,我使用Set Payment Option API。 I am passing following information 我正在传递以下信息

      :payKey => paykey, :displayOptions => { :businessName => "Example Site" }, :senderOptions => { :shippingAddress => { :addresseeName => sender_name :street1 => sender_street, :city => sender_city, :state => sender_state, :zip => sender_zip, :country => "US" } } 
  4. Lastly, I am executing payment with Execute Pay API. 最后,我正在使用Execute Pay API执行付款。

Everything is fine but when reciever review this payment in paypal screen, he don't see the shipping address which i sent to him. 一切都很好,但是当收款人在贝宝屏幕上查看此付款时,他看不到我发送给他的收货地址。 His paypal screen say that the sender has no shipping address. 他的Paypal屏幕上说发件人没有送货地址。

贝宝屏幕

I cross checked, fetched the Payment Details with Payment Details API , found that shipping address is there, strange? 我进行了交叉检查,并使用“ Payment Details API获取了“ Payment Details ,发现shipping地址在那儿,奇怪吗?

What i am missing, why shipping address is not visible in paypal screen.? 我想念的是,为什么收货地址在贝宝屏幕中不可见?

Update: all above flow is done on sandbox.I'm not sure this matters but thought to mention it. 更新:以上所有流程都是在沙盒上完成的,我不确定这很重要,但想提一下。

运输选项必须能够在嵌入式付款流程中工作,您的请求有效负载看起来还不错,并且您只需要按照以下说明使用JS灯箱或微型打印机修改重定向代码: 如何使用自适应付款创建嵌入式付款流程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM