Paypal No-Code checkout Credit card option is not working

zohno-community
New Community Member

Hi, 

I want to integrate no-code checkout in my website.

<script src="https://www.paypal.com/sdk/js?client-id=QK8&components=hosted-buttons&enable-funding=venmo&currency=..."></script>
<div id="paypal-container-"></div>
<script>
paypal.HostedButtons({
hostedButtonId: "asdf",
}).render("#paypal-container-")
</script>

 

Now when it is hosted, the paypal payment mode works fine, but when I use credit or debit option.

it says "Expected Order ID to be passed".

 

This is no-code checkout so why should I pass order id? I do not have any server from which I can call paypal and generate order.

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

Good day @zohno-community ,

Thank you for posting to the PayPal community.

I have tried to reproduce the issue, created a "No-Code Checkout" button and could able to process payment flow without any issues. 

 

Could you please try to create a new "No-Code Checkout" button and try to perform a new test payment via card which is not linked your account, since merchants can't perform test payments. 

 

Note : The "No-Code Checkout" button code internally calls the "Order API". 

If your still facing any issues, please create a MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the below details. 

1) Detailed steps to reproduce the issue and screen shot of the error page.
2) The full browser URL of the error page and your website URL.
3) When the error page appears, please press Ctrl + U to open the page source. Kindly copy and paste the entire source code in a text file and send it.

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

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