Order doesn't appear in order dashboard but its registered in Paypal

Hello,

I added a second custom Paypal button on my single product page in order to turn off the dynamic payment button for my users.

I successfully did that and the button works and payment in Paypal is received.

However, I have a problem which is that the order made by the customer is not registered in the admin panel dashboard (Shopify) so my logistic

can sees it too. My code in

product-template.liquid

goes like this

button code


                                                
                                                {% if section.settings.enable_payment_button %}
                                                    {{ form | payment_button }}
                                                 
                                                {% endif %}
                                            

                                        {% endform %}
                                         
                                          
                                            
                                        {% endform %}
                                         
                                       

and my javascript goes like this


Since that I am new to Shopify is there is an event or function which I should implement into existing javascript.

@Blok64IT

Based on the context you’ve provided, the Paypal button you have implemented skips the Shopify checkout entirely. If that is the case, then it would not be possible to have the order sync to your Shopify admin and would need to be created manually. Alternatively, you can use Paypal Express so your customers can process their purchase in the Shopify checkout which will ensure the order is created in your Shopify admin.

@Trevor The express checkout button is already integrated into the dynamic checkout button which is visible (PayPal version) only when the user signs in with PayPal before.

If not there is a normal Buy Now button or some other payment options providers branded button, depends what the user uses in the browser. The idea was to

have second checkout button fixed only for Paypal, which is not possible as you mentioned above.

@Blok64IT

I understand. What you’ve described is the normal behaviour for the dynamic checkout button. It will change what appears based on what it believes is the most applicable button to the user. It can not be static to just one payment provider.

May I ask why this doesn’t work for your business? Is Paypal the only payment provider you provide in your store?

@Trevor my client use to have a separate checkout button on the previous web shop which was made in another CMS. So simply they wanted to copy-paste functionalities and some parts of the design.

Thank you for the detailed information and confirmation that cant be done in the way they wanted.

@Blok64IT

Ah, understood. Thank you for the context. Glad I was able to help!

Plz help me !
I received payment throw debit card in PayPal but didn’t get any order in my Shopify store.

@LiliStars

If the funds are in your Paypal account, but the order is not in your admin, then the customer likely closed the browser before returning to the “thank you” page which can cause a disconnect between Shopify and Paypal. You should be able to see their order in “Abandoned checkouts” under the “Orders” section of your admin. You can create a draft order then mark it as paid to begin the fulfillment process.