PayPal smart buttons but the orders do not show up on shopify admin

Hey Everyone,here is my issue,I have added the PayPal smart buttons to my store(fixed price on product page) and when my customers pay,I can see the Payment on PayPal with no issues,but the orders do not show up on my admin,but when I use PayPal on the Payment section of the Shop’s Checkout Page,the orders show up just as fine and the customers get redirected to the thank you page from Shop ,but when they pay with their credit card(smart buttons) they only get “Thank you for your payment” and they do not get redirected anywhere,they stay on the product page,what changes must I make to my code,so that the orders show up on Shop and so that my customers get redirected to the Thank you page?

I have the same problem! Did you solve the problem?

I am also facing this problem, this happens when I enable Paypal smart button. I still haven’t found any solution.