Software Package Version:
react-paypal-button-v2: 2.4.1Describe the bug
I am trying to disable the Przelewy24 funding source which can be disabled by giving the value p24 in disableFunding option. This value is obtained by the official documentation. When I try to load the buttons using this value, unfortunately the PayPalButton component doesn't load at all producing a 400 error on the request. I am attaching a snapshot below.
Note 1.
Other options are working as expected. For example if I use card value as an option the paypal default button is rendered and the cards are not rendered.
Note 2.
I am basically trying to disable all funding sources as I only want to show the default paypal button for now. If there is an option to disable all funding sources it would work for me.
To Reproduce
Steps to reproduce the behavior:
Try to load PayPalButton with the options prop seen bellow
To Do First
Software Package Version: react-paypal-button-v2:
2.4.1
Describe the bugI am trying to disable the
Przelewy24
funding source which can be disabled by giving the valuep24
in disableFunding option. This value is obtained by the official documentation. When I try to load the buttons using this value, unfortunately thePayPalButton
component doesn't load at all producing a 400 error on the request. I am attaching a snapshot below.Note 1.
Other options are working as expected. For example if I use
card
value as an option the paypal default button is rendered and the cards are not rendered.Note 2.
I am basically trying to disable all funding sources as I only want to show the default paypal button for now. If there is an option to disable all funding sources it would work for me. To Reproduce Steps to reproduce the behavior:
I am using
buyerCountry: 'PL'
as Poland is the country where Przelewy24 funding source is shown.Expected behavior Loading PayPal default button
Screenshots![p24-error](https://user-images.githubusercontent.com/40758600/66910314-00368d80-f017-11e9-9552-b19f1f42139a.png)
Desktop (please complete the following information):