New to the community? Welcome! Please read our Community Rules and Guidelines
Pay, shop, and do even more on the PayPal appGet the App
I am trying to "set up standard payments" in Blazor webassembly application,
I've added the payment button as described here:
but when I press it(using a sandbox env) most of the time I get the following error in the console:
Error: No ack for postMessage createOrder()
"Error: No ack for postMessage createOrder() in
Can you please help me?
Hey @GnosisDev2! Sorry for the delay on a response here. I'm a Developer Advocate on a new DevRel team here at PayPal, and we are looking into this based on your post here and a Github issue we saw. Quick question - are you using VS Code's debugger when you're running this locally? That seems to be where other people are running into issues, and I just want to confirm that the set-up is the same so we know that we're working towards solving the same issue.
Thank you for the replay. The issue was observed while using Visual Studio 2019. According to PayPal support the issue I encounter was due to blazor having a big page load time during development which caused the PayPal component to timeout.
Hope this helps
It might! Do you happen to have a support ticket number for this? If it's no longer a big issue, I won't bug you about it anymore, but we'll keep digging around under the hood and try to figure out how we can help you and others avoid this in the future.
For now we don't consider it a huge issue, since the checkout functions well after the app gets published.
But for future use/reference any update or improvement would be appreciated
Case number: 09458420
yes I get the same issue, i found this fix works: https://stackoverflow.com/questions/66456892/failed-to-launch-debug-adapter-vs-tries-to-connect-to-a... you have to do everything in the accepted answer though, mainly not auto launching your app in the browser from VS but rather running it and then connecting to it by navigating to the link (see pic below) in your browser
i hope this helps others