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 ‎Oct-09-2020
Country: Brazil
Type: Personal
saichi
saichi
New Community Member
1
Post
0
Kudos
0
Solutions
Active
View all
Latest Contributions by saichi
  • Topics saichi has Participated In
  • Latest Contributions by saichi

Credit Card Button: redirecting to Paypal dependin...

by saichi in PayPal Payments Standard
‎Oct-09-2020 08:05 AM
‎Oct-09-2020 08:05 AM
When I don't add "locale" to the SDK arguments, the credit card button works fine, showing payment fields on my page (screen below). It considers the default country as US and the language is English, but it's possible to change (or to set County as Brazil in advance when Creating the Order order.payer.address.country_code: 'BR').     Now if I set the locale directly on SDK call (as below), the language works fine but the button redirects the user to paypal https://www.paypal.com/sdk/js?currency=BRL&locale=pt_BR&client-id=   ... View more
Labels:
  • Labels:
  • PayPal HTML Buttons
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