cancel
Showing results for 
Search instead for 
Did you mean: 

TypeError on customising PayPal Checkout Button with style = { fundingicons: 'true' }

Options
hannahbennett27
New Community Member
Posted on

Adding the following style attribute results in the console logging a TypeError:
style = {  ... , fundingicons: 'true'  }

 

Console error message:
TypeError: window.paypal.Checkout.renderTo(...) is undefined

renderCheckout      checkout.js:254

 

Error message present on app in development and on PayPal's 'interactive code demo'. 

Please advise if this is a PayPal bug to be remedied? OR if there are code amendments that will rectify?

Thank you!

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.