Useful or not, from you.
vsf-payment-paypal "TypeError: Cannot read property 'Buttons' of undefined"

Hi, I want to include the Paypal Button at our page. I followed the steps in your Readme for Frontend and Frontend-Api.

VS 1.10.0

The module gets registered, the Button itsfelf seems to have problems. I did a yarn install and restarded the server (config ist working)

[Vue warn]: Error in mounted hook: "TypeError: Cannot read property 'Buttons' of undefined"
found in
---> <PaypalButton> at src/modules/paypal/components/Button.vue

This seems to be undefined window.paypal

      createOrder: this.createOrder,
      onApprove: this.onApprove

Any ideas?

PS: I found this thread with a similar topic but the threadopener could solve the issue with yarn install and restart.

That's a useful answer
Without any help

@dimasch Thank you for your response.

Registration of the Module was fine, it was actually the SDK Script. I used a wrong clientId, after fixing this one, the Button appeared. I could not see any error, that the SDK could not get loaded, so I missed checking this part.

Thanks for your answer!