- This topic has 5 replies, 5 voices, and was last updated 13 years, 3 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Manual Payment checkout flow adjustments
Tagged: checkout, manual payment, return, url
When you do a manual payment and enter details on eStore_shipping_details_view.php and click “confirm purchase”. This green box appears indicating you have success, then you have to click the little link to navigate to the return URL I specified (i.e. Thank You).
How do I make it just go to the landing page specified without forcing the user to have to click “continue shopping”?
Find the following bit of code in the “eStore_payment_submission.php” file:
echo '<div id="success">';
echo "".ESTORE_ORDER_COMPLETE;
echo 'Please click here to return to the Store.';
echo "</div>";
exit;
Once you find it replace it with the following:
$return = get_option('cart_return_from_paypal_url');
$redirection_parameter = 'Location: '.$return;
header($redirection_parameter);
exit;
This will automatically redirect the customer to the “Return URL” that you have specified in the settings menu of the plugin after the form submission.
I am using manual checkout. The code shown on this post is not in my version of the “eStore_payment_submission.php” file in eStore v3.8.1.
Please give me updated instructions on how to automatically redirect the customer to the “Return URL” in the settings menu after manual form submission.
Hi, I Believe you need an update. The following post will explain how updates work:
https://support.tipsandtricks-hq.com/forums/topic/how-and-when-do-you-get-an-update
In the manual checkout how do I add ” Name on Credit Card” “Credit Card Number” “Expiry Date” “card verification number”
So I can then process it offline with a manula eftpos machine?
Thanks
You can instruct your customers to leave those details in the “Additional Comments” field in the manual checkout form.