Skip to main content

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in

Le Forum de la communauté n’est pas disponible pour les nouveaux messages ou les réponses; les articles précédents restent disponibles pour vérification. Afin de connaître les options d’assistance complètes, rendez-vous sur PayPal.com/HelpCenter

Si vous souhaitez signaler du contenu illégal et contraire au Règlement sur les services numériques de l’Union Européenne (DSA), veuillez cliquer ici.

since ‎Apr-02-2023
Country: United Kingdom
Type: Personal
aysha99
aysha99 Contributor
Contributor
3
Posts
0
Kudos
0
Solutions
Ice Breaker
The Return
Active
View all
Latest Contributions by aysha99
  • Topics aysha99 has Participated In
  • Latest Contributions by aysha99

how to set first name, last name, postal code and ...

by aysha99 Contributor in PayPal Payments Standard
‎Apr-03-2023 02:45 AM
‎Apr-03-2023 02:45 AM
how to set first name, last name, zip code and mobile number in billing address? This does not work below, also tried to set billing_address property and still does not work:           body: JSON.stringify({           intent: "CAPTURE",           purchase_units: [             {               amount: {                 currency_code: "USD",                 value: "100.00",               },             },           ],           payment_source: {             paypal: {               experience_context: {                 payment_method_preference: "IMMEDIATE_PAYMENT_REQUIRED",                 payment_method_selected: "PAYPAL",                 shipping_preference: "NO_SHIPPING",                 brand_name: "EXAMPLE INC",                 locale: "en-US",                           },               payer: {                 name: {                   given_name: "Adam",                   surname: "Smith",                 },                 email_address: "mailaddresshere",                 payer_id: "QYR5Z8XDVJNXQ",                 postal_code: "232323",               },                           },           },         }), ... View more

Re: Ho to omit the shipping address?

by aysha99 Contributor in REST APIs
‎Apr-02-2023 12:03 PM
‎Apr-02-2023 12:03 PM
Did not work, I also tried to change "paypal" to card but nothing works, any ideas?:     const createOrder = (data, actions) => {     // Order is created on the server and the order id is returned     return fetch("http://localhost:3000/api/order/create-paypal-order", {       method: "POST",       headers: {         "Content-Type": "application/json",       },       // use the "body" param to optionally pass additional order information       // like product skus and quantities       body: JSON.stringify({         intent: "CAPTURE",         purchase_units: [           {             amount: {               currency_code: "USD",               value: "100.00",             },           },         ],         payment_source: {           card: {             experience_context: {               payment_method_preference: "IMMEDIATE_PAYMENT_REQUIRED",               payment_method_selected: "CARD",               brand_name: "EXAMPLE INC",               locale: "en-US",               landing_page: "LOGIN",               shipping_preference: "NO_SHIPPING",               user_action: "PAY_NOW",               return_url: "https://example.com/returnUrl",               cancel_url: "https://example.com/cancelUrl",             },           },         },       }),     })       .then((response) => response.json())       .then((order) => order.id);   }; ... View more

Ho to omit the shipping address?

by aysha99 Contributor in REST APIs
‎Apr-02-2023 05:09 AM
‎Apr-02-2023 05:09 AM
Hi I need to omit the shipping in V2 , tried many things but does not work:    const createOrder = (data, actions) => {     // Order is created on the server and the order id is returned     return fetch("http://localhost:3000/api/order/create-paypal-order", {       method: "POST",       headers: {         "Content-Type": "application/json",       },       // use the "body" param to optionally pass additional order information       // like product skus and quantities       body: JSON.stringify({         intent: "CAPTURE",         purchase_units: [           {             amount: {               currency_code: "USD",               value: "100.00",             },           },         ],         payment_source: {           experience_context: {             shipping_preference: "NO_SHIPPING",           },         },       }),     })       .then((response) => response.json())       .then((order) => order.id);   }; ... View more
Paypal Logo
  • Help
  • Contact Us
  • Security
  • Fees
  • © 1999-2025 PayPal, Inc. All rights reserved.
  • Privacy
  • Legal
  • Cookies
  • 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