Skip to main content

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in
  • Welcome
    • Guidelines
    • News and Events
    • Suggestions for PayPal
    • General Discussions
  • PayPal Help Community
    • Managing Account
    • Transactions
    • Wallet
    • Security and Fraud
    • Products & Services
    • Reporting
  • MTS Community
    • PayPal Upgrade Community
    • PayPal Payments Standard
    • REST APIs
    • NVP/SOAP APIs
    • SDKs
    • Sandbox Environment
    • PayPal Reporting
    • Payflow
    • Ideas for MTS
    • Client-side Integration
    • Server-side Integration
  • The Archives
    • PayPal Help Community Archives
      • Managing Account Archives
      • Transactions Archives
      • Wallet Archives
      • Security and Fraud Archives
      • Products & Services Archives
      • Reporting Archives
    • Help Community
      • PayPal Basics Archives
      • Payments Archives
      • My Money Archives
      • My Account Archives
      • Disputes and Limitations Archives
      • Products and Services Archives
      • PayPal Credit Archives
    • Merchant Community
      • Merchant Products
      • Business Tools Archives
      • Reporting Archives
      • Managing Risk and Fraud Archives
    • Help Archives
      • About Business (Archive)
      • About Payments (Archive)
      • About Settings (Archive)
      • About eBay (Archive)
      • About Protections (Archive)
      • About Products (Archive)
    • Social and Your Voice Archives
      • Off Topic (Archive)
      • My Feedback for PayPal (Archive)
    • About PayPal Archives
      • Watercooler (Archive)
      • Tax Information (Archive)
      • Fees (Archive)
      • eBay and PayPal (Archive)
      • Coupons and promotions (Archive)
    • My Account Archives
      • My account settings (Archive)
      • Account limits and verification (Archive)
      • Account balance (Archive)
      • Bank accounts and credit cards (Archive)
    • Payments Archives
      • Sending money (Archive)
      • Receiving money (Archive)
      • Refunds (Archive)
      • Donations and Fundraising (Archive)
    • Disputes and Security Archives
      • Disputes and claims (Archive)
      • Fraud, phishing and spoof (Archive)
    • My Business Archives
      • Merchant services (Archive)
      • Reporting and tracking (Archive)
      • Shipping (Archive)
    • PayPal Products Archives
      • PayPal Debit Mastercard (Archive)
      • PayPal Extras MasterCard (Archive)
      • PayPal Mobile & Other Services (Archive)
      • Student Accounts (Archive)
      • Bill Me Later (Archive)
    • Getting to know PayPal
      • My PayPal account
      • Security and protection
    • Receiving and sending money
      • Buying with PayPal
      • Selling with PayPal
    • PayPal Here UK
      • PayPal Here News and Events
      • PayPal Here Community
      • Chip and Pin Card Reader
      • PayPal Here App

The Community Forum is not available for new posts or responses; previous posts remain available to review. For comprehensive support options, please visit PayPal.com/HelpCenter
Merchant Technical Support: For technical support and related questions, please visit our Technical Support Help Center or Developer Central

If you want to report illegal content under the EU Digital Services Act, please do so here

since ‎Oct-27-2019
Country: United States
Type: Personal
salartdesigns
salartdesigns Contributor
Contributor
7
Posts
1
Kudos
0
Solutions
Ice Breaker
Liked
Active
The Return
View all
Latest Contributions by salartdesigns
  • Topics salartdesigns has Participated In
  • Latest Contributions by salartdesigns

"No Certificate Found"

by salartdesigns Contributor in SDKs
‎Mar-03-2020 09:31 PM
‎Mar-03-2020 09:31 PM
It's only doing this on mobile (as far as I know only android but I haven't tested it on iOS yet). What does this mean? I already have an SSL certificate and it's properly installed. How do I clear this away?   ... View more

Re: Suddenly unable to capture order in sandbox te...

by salartdesigns Contributor in Sandbox Environment
‎Nov-14-2019 03:09 PM
‎Nov-14-2019 03:09 PM
Actually, although this is kind of unrelated to my original post it seems no matter what I do when trying to contact tech support I always get connected with people who don't know a thing about tech support. In this particular instance there doesn't seem to have been a reason why even the "customer service" agent I spoke to couldn't answer my question anyway. The link provided answered it (turns out some system was down for maintenance which seems like something they should have known already seeing as how they clearly had access to that information). Why is it so hard to get in touch with an actual tech support agent? Even when I specify that that is what I'm trying to do I'm either connected to someone who doesn't know how to help or they end up forwarding me to someone else who also has no idea how to help. I've tried this multiple times and pretty much every time I seem to get connected to the wrong person. One agent who claimed to be a tech support agent seemed convinced I was trying to reach customer service when I was already quite clear that I needed help building a payment gateway for a friends website. In two other instances I was told that I'd be forwarded to someone on to someone who was on the tech support team (I forget what the agent called it, it's in my messages somewhere) and instead I was connected to someone who not only was not on that team (and admitted it) but seemed absolutely determined not to help at all. ... View more

How do I add transaction details?

by salartdesigns Contributor in REST APIs
‎Nov-06-2019 05:08 PM
‎Nov-06-2019 05:08 PM
How do I add the individual items and other transaction details when I create the order?   curl -v -X POST <a href="https://api.sandbox.paypal.com/v2/checkout/orders" target="_blank">https://api.sandbox.paypal.com/v2/checkout/orders</a> \ -H "Content-Type: application/json" \ -H "Authorization: Bearer Access-Token" \ -d '{ "intent": "CAPTURE", "purchase_units": [ { "amount": { "currency_code": "USD", "value": "100.00" } } ] }'     I've tried adding things like "amount_with_breakdown" from here https://developer.paypal.com/docs/api/orders/v2/#definition-amount_breakdown and I've been through this page up and down. I can't figure out how this stuff gets added to the curl request. Can someone please help? ... View more

Re: POST https://api.sandbox.paypal.com/v2/checkou...

by salartdesigns Contributor in REST APIs
‎Nov-04-2019 09:11 PM
‎Nov-04-2019 09:11 PM
I got it! To anyone else who might be facing this same issue, first I used this tool https://kigiri.github.io/fetch/ to convert the sample curl request from here https://developer.paypal.com/docs/api/orders/v2/ which is how I got my original code but what I didn't realize was that the body HAS TO BE A STRING. so you can either leave it the way it is, or you can clean it up a little like I did in the code below. DO NOT try to turn it into a JSON object like I did in the original post. var body = '{"intent": "CAPTURE","purchase_units": [{"amount": {"currency_code": "USD","value": '+parseFloat(total).toFixed(2)+'}}]}'; THAT is how you turn THIS curl request into fetch for javascript. ... View more

POST https://api.sandbox.paypal.com/v2/checkout/or...

by salartdesigns Contributor in REST APIs
‎Nov-04-2019 04:10 PM
‎Nov-04-2019 04:10 PM
I've been trying to use fetch to create an order and I keep getting this error:   I can get an access token without any problem but I keep getting the error in the picture above. Here's my code (with my credentials replaced): try{ const attempt_access = await fetch("<a href="https://api.sandbox.paypal.com/v1/oauth2/token" target="_blank">https://api.sandbox.paypal.com/v1/oauth2/token</a>", { body: "grant_type=client_credentials", headers: { Accept: "application/json", Authorization: <MY_CREDENTIALS>, "Content-Type": "application/x-www-form-urlencoded" }, method: "POST" }); const result_access = await attempt_access.json(); console.log(result_access); var access = result_access.token_type+" "+result_access.access_token; console.log("Access Token Aquired"); } catch (error) { console.log('There has been a problem with your fetch operation: ', error.message); } try{ var body = { "intent": "CAPTURE", "purchase_units": [{ "amount": { "currency_code": "USD", "value": parseFloat(total).toFixed(2) } }] }; var headers = { "Authorization": access, "Content-Type": "application/json" }; const attempt_order = await fetch("<a href="https://api.sandbox.paypal.com/v2/checkout/orders" target="_blank">https://api.sandbox.paypal.com/v2/checkout/orders</a>", { body, headers, method: "POST" }); const result_order = await attempt_order.json(); console.log("Creating Order..."); console.log(result_order); } catch (error) { console.log('There has been a problem with your fetch operation: ', error.message); }     ... View more

Re: Suddenly unable to capture order in sandbox te...

by salartdesigns Contributor in Sandbox Environment
‎Oct-29-2019 05:48 PM
‎Oct-29-2019 05:48 PM
It's back to normal now. I guess this just happens with sanbox accounts sometimes? Kind of sucks because I was unable to finish my work yesterday and didn't even get a chance to get back to it until now, a whole day later. Some notice would have been nice! Also, how come their tech support was completely clueless and unable to help? The person in chat didn't seem to know anything about tech support and instead just gave me a link elsewhere, where I learned that Paypal was already aware of this issue. Don't you think the first people who should know about this would be the tech support staff? ... View more

Suddenly unable to capture order in sandbox testin...

by salartdesigns Contributor in Sandbox Environment
‎Oct-28-2019 10:48 AM
1 Kudo
‎Oct-28-2019 10:48 AM
1 Kudo
What does this mean? It was working fine last night before I went to bed and now I'm getting these errors. I've already tried logging out and back in, that didn't work. I tried copying and pasting the code from here https://developer.paypal.com/demo/checkout/#/pattern/client (which I noticed doesn't include credentials) and still get these errors. Someone please help?!?   I opened inspector windows for both the paypal popup (on the left in the image) and my sales page (on the right) and it also seems stuck in and endless processing screen now too which it doesn't always do. paypal.Buttons({ //configure environment env: 'sandbox', client: { samdbox: '[MY_SANDBOX_ID]', production: 'demo_production_client_id' }, // Customize button (optional) locale: 'en_us', style: { size: 'small', color: 'gold', shape: 'pill' }, createOrder: function(data, actions) { return actions.order.create({ purchase_units: [{ amount: { value: parseFloat(total).toFixed(2),//I defined this elsewhere in my code to capture the total from the transaction instead of '0.01' currency: 'USD' } }] }); }, onApprove: function(data, actions) { return actions.order.capture().then(function(details) { alert("Paid!"); }); } }).render('#paypal-button-container');   ... 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
Welcome to the PayPal Community!