WooCommerce & Customer Area Integration need Web Development
Contact person: WooCommerce & Customer Area Integration
Phone:Show
Email:Show
Location: Tel Aviv, Israel
Budget: Recommended by industry experts
Time to start: As soon as possible
Project description:
"[login to view URL] is a wordpress website which works as a session booking platform. It has Amelia plugin (booking plugin) installed and it is working properly with zoom integration (i.e. a zoom meeting link is created after checkout). Amelia is connected to WooCommerce plugin. Purchase flow works fine with paypal
What I require:
There is a WP Customer Area plugin installed – this plugin allows private pages for customers to view. It is already installed.
I require this procedure:
1. When user purchase a session -> after checkout and payment clearness the system opens a private page for the customer
2. The name of the page will be the customer name
3. The system diverts the user to the private page after checkout
4. The page title will say:<h3> "[customer name] TeleBack Private Page" <break></h3>
<b>"This is your private TeleBack therapy page. Here you’ll find your session recordings, daily exercise notes, and progress reminders</b>
5. Below it, the private page will show:
a: Your TeleBack session is book on: [Date] at [time] (the session's date and time from Amelia) and will use the Zoom application. [The zoom link]
b: "Please check your email: [customer email] from TeleBack. You must read and follow the instructions before the session. The zoom meeting link is in the email."
6. If the Customer made a booking before: i.e returning customer – the system will NOT create another private page (avoid duplications) But instead insert the new session information below the previous ones.
Your TeleBack session is book on: [Date] at [time] this your zoom link [zoom link]
The session meetings date , time and zoom link is provided as placeholders by Amelia pluign
=======================================================
Chatgpt advised this code for doing this:
add_action('woocommerce_order_status_completed', 'teleback_handle_private_page', 10, 1);
function teleback_handle_private_page($order_id) {
$order = wc_get_order($order_id);
$user_id = $order->get_user_id();
if (!$user_id) return; // safety check for guest checkout
// Check if user already has a private page
$private_page_id = get_user_meta($user_id, 'teleback_private_page', true);
// If no page exists → create a new one
if (!$private_page_id) {
$page_id = wp_insert_post([
'post_title' => 'My TeleBack Space',
'post_content' => '<h2>Welcome to your personal exercise page!</h2>
<p>Your sessions will be listed here.</p>',
'post_status' => 'private',
'post_type' => 'page',
'post_author' => $user_id,
]);
update_user_meta($user_id, 'teleback_private_page', $page_id);
$private_page_id = $page_id;
}
// Build new session info
$session_info = "<h3>New Session Added</h3>";
$session_info .= "<p><strong>Order:</strong> #" . $order->get_order_number() . "</p>";
$session_info .= "<p><strong>Date:</strong> " . date('F j, Y, g:i a') . "</p>";
$session_info .= "<p><strong>Zoom Link:</strong> (add here manually or via automation)</p>";
$session_info .= "<hr/>";
// Append session info to existing page content
$existing_content = get_post_field('post_content', $private_page_id);
$updated_content = $existing_content . "\n\n" . $session_info;
// Update page
wp_update_post([
'ID' => $private_page_id,
'post_content' => $updated_content,
]);
}" (client-provided description)
Matched companies (3)

TG Coders

April Innovations
