Order-Pay end point 404 Error with cartflows
-
I been going under every leaf and still couldn’t find a solution for so long that this is beyond frustration….
Issue:
Cartflows does not work with “Pay” button in my account, aka, the order-pay end point. detail belowLikely Scenario
1. we have to manually create an order for a customer, and email either the link or ask them to go in to my account to pay/finalise the order2. Or for whatever reason, the order is created but payment failed, so abandoned cart will not catch it, and it will sit in orders in my account waiting for payment
3. Or whatever reason an order is manually assign status of pending payment
Failed Attempts and detail response
We have “global checkout” page designed and setup as global checkout, it works perfectly in normal checkout process with url of
mydomain.com/global-checkout/However
a. Clicking on “pay” button in actions of order listed under my account will go to default Woo-commerce checkout template with url of
mydomain.com/checkout/order-pay/[order-id]/?pay_for_order=true&key=[some key]b. Frankenstein the url to
mydomain.com/global-checkout/order-pay/[order-id]/?pay_for_order=true&key=[some key]
will result in 404c. tried all settings available and even searched plugins, found nothing. Even google search will return very few closely related results.
d. Tried to copy form-pay.php & order-receipt.php from WC template to Cartflows plugin folder, then tried step a & b, still same result as before.
Although i guess these 2 php need to be announced somewhere within the cartflows codes, just like how you would if coding a custom template instead of plugin. Which kinda defeats the purpose of cartflow checkout template.
And reverse engineering cartflow to find where to insert some code is kinda beyond my skill set.
Any help would be much appreciated! It is really to much of my surprise how something this simple yet nobody really did it before and so hard to find a solution….
- The topic ‘Order-Pay end point 404 Error with cartflows’ is closed to new replies.