Skip to main content

PayPal Community

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

Le forum de Communauté ne sera plus disponible à partir du 30 Juin 2025. 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 ‎May-29-2024
Country: United Kingdom
Type: Personal
KubaJDev
KubaJDev Contributor
Contributor
1
Post
0
Kudos
0
Solutions
Active
The Return
View all
Latest Contributions by KubaJDev
  • Topics KubaJDev has Participated In
  • Latest Contributions by KubaJDev

Javascript SDK throws 400 when trying to create or...

by KubaJDev Contributor in PayPal Payments Standard
‎May-29-2024 12:37 PM
‎May-29-2024 12:37 PM
Hi there, I am using the Javascrip SDK in my Angular app to accept paypal payments. My aim is to accept both Paypal and Debit card payments, so far only the paypal payments work. Problem starts when I try to use the debit card, it is very flakey and on frequent occasions it throws the 400 error when calling:  https://www.sandbox.paypal.com/smart/card-fields?sessionID= My current setup looks like this:       paypal .Buttons({ createOrder: (data, actions) => this.orderService.createPayPalOrder().then((result) => { this.analytics.logEvent(`${data?.paymentSource}_order_created`, {}); // this.spinner.setLoading(false); return result.data['id']; }), })           I am currently testing on sandbox envrionment...     Any help is appreciated, I am almost ready to go live with my app but this is a huge NO GO as it will cause issues for my customers... Many Thanks ... 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