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 ‎Mar-23-2019
Country: United States
Type: Personal
JohnnyBurbank
JohnnyBurbank Contributor
Contributor
7
Posts
1
Kudos
0
Solutions
Your PayPal Anniversary
Organized
Liked
Giving
Ice Breaker
Active
The Return
View all
Topics JohnnyBurbank has Participated In
  • Topics JohnnyBurbank has Participated In
  • Latest Contributions by JohnnyBurbank

Re: Setting Headers in js client

by Mitchco in SDKs
‎Apr-03-2021 05:05 PM
‎Apr-03-2021 05:05 PM
Would love to see an answer to this too! ... View more

Re: How do I get the paypal_fee from the transacti...

by mattinreallife Contributor in SDKs
‎Mar-09-2021 01:35 PM
‎Mar-09-2021 01:35 PM
You'll need to make a separate request to /v2/checkout/orders/ORDER-ID and then in the response you'll be able to access the fee:   purchase_units[0]->payments->captures[0]->seller_receivable_breakdown->paypal_fee->value ... View more

Re: 400 Error just loading the JS SDK in standard ...

by JohnnyBurbank Contributor in SDKs
‎Jun-29-2019 09:28 AM
1 Kudo
‎Jun-29-2019 09:28 AM
1 Kudo
That's it!  It's still working this morning.  I've got a ticket open about this with Paypal tech people so I'll add this info to it.  Also, the nice thing about this is if, in the small chance that a customer gets this error, I can pop up a message that tells them to clear their paypal.com cookies (assuming they know how to do it).  Hopefully the Paypal techs will make it so that won't be necessary in either case.  Thanks guys! ... View more

Re: Need help with PayPal Javascript SDK Integrati...

by JohnnyBurbank Contributor in SDKs
‎Jun-20-2019 10:23 PM
‎Jun-20-2019 10:23 PM
Barely floundering in the Paypal JS SDK myself, but I believe you can specify the currency_code inside the purchase_units JSON object you pass to the createOrder function for the Smart Buttons.  "purchase_units" is an array, and inside one purchase_unit object is an "amount" object, where you can specify the "value"(price) and the "currency_code" for that specific sale.  I'm assuming if you go that route, you don't need to pass the currency code in the place you are now.  Don't know much outside of that, so hopefully that helps in some way. ... View more

Trying to implement PHP SDK -Need to check my data...

by JohnnyBurbank Contributor in SDKs
‎May-13-2019 10:41 PM
‎May-13-2019 10:41 PM
I'm not a master of PHP or Paypal by any means, but I've been googling for the past 3 days and can't seem to find the right combination of code to make anything work correctly.  First, I keep seeing talk of Smart Buttons and a bunch of stuff about V1 being deprecated and I need to use V2.  Then I follow a link to an SDK that takes me here: https://github.com/paypal/Checkout-PHP-SDK.  Should I be using this because V1 will be deprecated soon?  Well, this V2 github is not super helpful because I don't have access to composer, and there are no instructions for Direct Download.  Eventually, I dig through "issues" and find some stuff about installing BraintreeHttp and somehow get that working.  But then the other half of all this is getting the Smart Buttons javascript to work properly.  First I see stuff about createOrder looking like this: createOrder: function(data, actions) {   return actions.order.create({   purchase_units: [{ amount: { value: '0.01' } }] }); }, Well this doesn't work for me, because this sends the data directly to Paypal, when I need to call a PHP function to modify my database BEFORE it does that.  So I find some other version of createOrder that looks something like this: createOrder: function() { return fetch('/my-server/create-paypal-transaction', { method: 'post', headers: { 'content-type': 'application/json' } }) .then(function(res) { return res.json(); }) .then(function(data) { return data.orderID; }); } I'm assuming "/my-server/create-paypal-transaction" refers to my PHP create order code page (using the example code from the SDK github but with my proper client id and stuff).  But that doesn't work because the JSON it seems to return looks something like this (ie. not properly formatted json)... BraintreeHttp\HttpResponse Object ( [statusCode] => 201 [result] => stdClass Object...   Can anyone provide the missing link to making this work?  I'm about at my wits end, and have no idea what documentation I've found is from V1 or V2 or some other archive from 10 years ago.  Is V1 really being deprecated soon?  Should I even be using Smart Buttons?  This seems far more complicated than it needs to be.  Any help is greatly appreciated. ... 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!