New to the community? Welcome! Please read our Community Rules and Guidelines
I had created a buy now buton for my website. and I pasted the code in html.
After that when users tried to make payment. They are geting only option through pay via paPal.
If I understand correctly, you're having trouble with Guest Checkout not populating on your website, is that correct?
Here is a help article that describes how to make sure your settings are set correctly. This article also speaks about some conditions where guest checkout just may not be an option.
I hope this is helps answer your question!