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 ‎Sep-07-2021
iamzain
iamzain Contributor
Contributor
2
Posts
0
Kudos
0
Solutions
The Return
Active
View all
Topics iamzain has Participated In
  • Topics iamzain has Participated In
  • Latest Contributions by iamzain

PayPal message is hidden by the script

by iamzain Contributor in PayPal Payments Standard
‎Jul-14-2022 02:00 AM
‎Jul-14-2022 02:00 AM
Here is the PayPal Messages implementation for next.js app: import { COMPONENTS, DISABLE_FUNDING } from './PayPalBanner.constants'; import { PayPalBannerProps } from './PayPalBanner.types'; import styles from './PayPalBanner.module.scss'; export const PayPalBanner = ({ placement, layout, color, ratio, clientId, currency, }: PayPalBannerProps): JSX.Element => { const initialOptions = { 'client-id': clientId, currency, components: COMPONENTS, 'disable-funding': DISABLE_FUNDING, }; const messagesOptions = { placement, className: styles['paypal-banner'], style: { layout, color, ratio, }, }; return ( <PayPalScriptProvider options={initialOptions}> <PayPalMessages {...messagesOptions} /> </PayPalScriptProvider> ); }; When using "4x1" ratio, the scripts hide the Message with this warning in the console: "paypal_messages_hidden {description: 'PayPal Message has been hidden. Message must be vi…of 0px x 0px. Current container is 160px x 448px.', index: '4', duration: 4969, timestamp: '1657708224321'}". Basically, the script changes the iframe style to "opacity: 0 !important". If the container height is changed according to the height of the Message it solves the problem at first glance. But when you change the height of the browser (make it lower) the Message is hidden again on reload. How to solve this problem? Thanks! ... View more

Re: How can I send money go the app user via paypa...

by Aqibjaved in Sandbox Environment
‎Dec-11-2021 09:15 AM
‎Dec-11-2021 09:15 AM
The Payouts API or the Hyperwallet service  could fit your use case. Either would require approval by PayPal. You need to apply to use them and explain your business use case. ... 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