I wouldn't usually do this, but I wonder if the thread at https://toolset.com/forums/topic/cred-commerce-paypal-says-cart-is-empty/page/2/ could be looked at by another member of the team. I have no issue with Minesh but the time difference is significantly impacting the speed at which this particular issue can be resolved.
(I'm assuming the link will be hidden publicly though please do advise if it isn't)
It's Woocommerce Subscriptions I'm using for the other (working) purchase option on the site, incase that makes any difference to the URLs. I don't think I have tested just a standard Woocommerce product.
I did some testing and found I was able to replicate the issue in the duplicator package.
However I managed to narrow it down to the form for the silver membership. I would recommend recreating this form as its not passing the data to Paypal.
I tried with the other forms you have and they worked fine even when I linked them to the same silver membership products.
Please try this and let me know the results.
Thanks,
Shane
I should have thought of trying that sooner! This has resolved the issue, though I'm finding the new user is not created immediately as the order doesn't get marked as complete after successful payment. Is that something I can make happen?
Yes that is correct unless the payment has been made then the user won't be created. Think of it like a purchasing of a product. Unless you pay for it you won't be able to take the product.
Not sure why the orders are not being marked but this is a section that is controlled by woocommerce.
They may have a bug or issue with paypal that is causing this. Could you try testing this by purchasing a regular product without going through CRED ?
If this doeesn't work then the issue is definitely on woocoomerce side. Also does the hosting provide any level of caching as I see that this can cause the issue as well.
Okay, so it turns out the product needed to be Virtual AND Downloadable in order for the order to autocomplete.
Now I'm past this step I have another related issue - After creating the new user through the CRED Commerce process, the order does not appear on the My Account > Orders page for that user - I imagine that's because the user account is not yet created at the point that the order is made.
Is there any way to have that purchase appear in the My Account > Orders section?
Quick question on that - were you logged in as 'Support User Admin' when you went through the Cred Commerce user form and the Woocommerce Purchase?
I think the customer for the order you placed is stated as 'Support User Admin' which is not the user account that the CRED Commerce process created in this case.
In my case I logged out of my admin account before going through the order process as a guest (to replicate what a customer would do) and the resulting WooCommerce order was assigned to 'Guest User', not the new user account I had created.
I should clarify - if you now log in as the new user you created and go to My Account > Orders you will likely find that the order you placed is not there.
To see the issue in the backend, log in as admin again and go to the Order page. You will see that the order has not been assigned to your user. You can see this in the bottom left of the attached screenshot where it says "Guest" in the customer field.
The email address against the order that you have in your screenshot is simply used for sending the woocommerce emails/billing details as far as I know, not for assigning an order to a User account.
I hope that clarifies the issue, though do let me know if not!