ruby on rails - shipping address is not visible in paypal screen while using adaptive payment -


i using paypal adaptive payment. want send shipping address of sender reciever. doing following things

  1. first getting approval key sender preapproval api

  2. then, using pay create api.

    this 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 step 2, using set payment option api . 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, executing payment execute pay api.

everything fine when reciever review payment in paypal screen, don't see shipping address sent him. paypal screen sender has no shipping address.

paypal screen

i cross checked, fetched payment details payment details api, found shipping address there, strange?

what missing, why shipping address not visible in paypal screen.?

update: above flow done on sandbox.i'm not sure matters thought mention it.

the shipping options have work in embedded payment flow, request payload looks fine, , need modify redirection codes js lightbox or minibrowers, per instruction: how create embedded payment flow using adaptive payments


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -