It is indeed possible.
An order could be generated either via customer A or via the orders screen on the backend.
I’m unaware of a way to get the URL to pay from any admin screens as an existing feature but there is a function to get the payment URL.
You would basically pass in the order ID of customer A and it will show the URL to give to customer B. Use the following snippet where $order_id
is the order number of customer A:
$order = wc_get_order($order_id);
$pay_url = esc_url( $order->get_checkout_payment_url() );
echo $pay_url;
Related Posts:
- Hide prices and checkout functionality in woocommerce
- How to Display Product specific to a category with WooCommerce Plugin? [closed]
- Woocommerce hook after creating order? [closed]
- Can’t set proper WooCommerce language translation [closed]
- How to authenticate custom API endpoint in WooCommerce [closed]
- Function to Set Product type in Woocommerce [closed]
- Updating WooCommerce variable product stock issue
- Add CSS class to add-to-cart button, Woocommerce [closed]
- Remove action from woocommerce barcode plugin [closed]
- Woocommerce Shipping module available only for type of products [closed]
- WooCommerce – Adding Custom Order Without No Product [closed]
- XML sitemap over product variations
- How to remove the woocommerce_checkout_process action hook in woocommerce if particular project in cart [closed]
- Manually add order item with fixed product_id in WooCommerce
- How can I display a contact form for out of stock products in WooCommerce?
- HTML in WooCommerce settings
- WooCommerce shop page orderby [closed]
- Reduce Drop down Menu Width in WordPress
- How to enable specific plugin only based around shop manager role?
- Why required field not working in Country dropdown in WooCommerce –
- How to modify WCMP Rest API response?
- Woocommerce dependent plugin
- How to check current user before all actions and filters?
- I want to disable Cash on delivery based on product tag in woocommerce Checkout Page [closed]
- Is there a way to create custom product templates based on category on WooCommerce?
- CampaignMonitor for WooCommerce – Move subscribe button [closed]
- Pre booking doesn’t work with custom bootstrap modul in woocommerce [closed]
- WooCommerce specifc variations for specific user role [closed]
- Custom Pages for Woocommerce Product-Category Pages
- Woocommerce Minimum Price for a Composite Product to add in cart
- Is there a way to get plugins and themes not built for multisite to work on a network subsite?
- How to get a list of bundled products using wp_query in woocommerce
- Add item to the woocommerce dashboard menu from a plugin
- How to get the particular product quantity in orders in Woocommerce [closed]
- Get orders of a specific customer woocommerce
- wc_get_template new template does not showing up
- Woocommerce – WordPress Roles & Capabilities
- Custom template for all woo commerce categories
- Search users with custom meta data
- Sell access to form [closed]
- How to change layout of shop page in wordpress? [closed]
- I want to filter my products with attributes [closed]
- Automatic recurring payment using YITH subscription and Dokan Stripe
- How to get custom minimum price in Woocommerce
- apply_filters(woocommerce_get_item_data, …) Causing errors when adding to cart
- Edit all $wp_scripts at once to $in_footer = false
- Restrict posts to customers with complete WooCommerce orders only
- Change Dashboard URL from wp-admin to wp-admin/index.php
- How To Use do_shortcode with WooCommerce One Page Checkout
- product available stock day by day
- Hide fields in woocommerce settings
- woocommerce – adding wrapper around custom made woocommerce form fields
- How can i solve php upgrade problem
- woocommerce: Customize email with item total count
- show wc_add notices on particular page in woo commerce custom plugin development
- How to Upload images to a custom folder in upload folder using media uploader
- I have English words in Kurdish pages
- Make modification of add_to_cart button specific to single page
- How to get the checkout form data from checkout page when place-order button is clicked
- Google Maps for Woocommerce Checkout
- Custom form data not displaying in cart page?
- category page multiple products add to cart any plugin available for woocommerce
- best way to handle subscriptions with a licence?
- “Enable Media Replace” plugin does not update serialized object in WPMeta
- Is there a request for products plugin for WooCommerce
- woocommerce with external ftp site
- Object of class WP_Error could not be converted to string in /formatting.php
- Only return taxonomies that are linked to a category & product
- WordPress eMails not working
- Add WooCommerce vendor slug to auto-generated SKU
- Custom plugin issue – Notice: Trying to get property of non-object in
- fetch price from different table woocommerce
- Cannot save a custom meta field in quick edit
- how to make settings page for woocommerce plugin?
- redirect to a custom page
- wordpress plugin translation not working
- Many to many relationship for variable products
- Change value of Points earned in product data
- Problem with conditional woocommerce custom checkout field
- change product image url in widgets & shop page
- How woo-commerce store Product Data value in DB?
- Not getting result using ajax on wordpress
- woocommerce blank page after clicking add to cart [closed]
- Which WordPress version to use for improved plugin compatibility? [closed]
- Woocommerce Bookings – Resource needs to be allocated for part of the booking duration, not the whole booking
- Move related products after product summary? [closed]
- Trying to disable all notifications except for one on woocommerce checkout page with css [closed]
- Woocommerce – Product Description heading [closed]
- Visual Composer Data Source?
- Woocommerce disable checkout on specific day
- Hook for single product thumbnail
- Woocommerce where to set the Price Suffix [closed]
- Is there a method or plugin to download my products in WooCommerce?
- Translate text for empty product
- how to add meta for order in woocommerce
- WooCommerce REST API aborts connection [closed]
- Product customizing quiz – quiz adding products to the cart
- Show WooCommerce products based on query parameters on redirect
- How to use `$order->get_discount_total()`, avoiding defoult WC decimal rounding?
- How to create different woocommerce single_product.php pages for each product? [closed]