Skip to main content
Cookies help us customize the PayPal Community for you, and some are necessary to make our site work. By browsing this website, you consent to the use of cookies. Learn more
Accept
Reject

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in
since ‎Mar-13-2023
Country: United States
Type: Business
Dmaxxx
Dmaxxx Contributor
Contributor
1
Post
0
Kudos
0
Solutions
The Return
Active
View all
Latest Contributions by Dmaxxx
  • Topics Dmaxxx has Participated In
  • Latest Contributions by Dmaxxx

passing parameters to the standard checkout

by Dmaxxx Contributor in PayPal Payments Standard
‎Mar-13-2023 11:47 AM
‎Mar-13-2023 11:47 AM
 I collect the address on my website and need to pass that data to the standard checkout javascript sdk buttons so my customers do not have to re-enter. I can't find a comprehensive list of the varible:value terms that I can pass in actions.order.create. So far all I have been able to pass is - purchase_units: {amount: {value: '1.00'} . Anything else I add cause the buttons to not show.   createOrder: function(data, actions) { return actions.order.create({ purchase_units: { amount: {value: '1.00'} shipping: { address: { address_line_1: {value: '123 Townsend St'}, address_line_2: {value: 'Floor 6'}, admin_area_2: {value: 'San Francisco'}, admin_area_1: {value: 'CA'}, postal_code: {value: '94107'}, country_code: {value: 'US'}, } } } }); }, ... View more
Paypal Logo
  • Help
  • Contact Us
  • Security
  • Fees
  • © 1999-2023 PayPal, Inc. All rights reserved.
  • Privacy
  • Legal
  • Policy Updates

The money in your balance is eligible for pass-through FDIC insurance.

The PayPal Cash Mastercard is issued by The Bancorp Bank pursuant to a license by Mastercard International Incorporated. The Bancorp Bank; Member FDIC.

Powered by Khoros