WooCommerce redirect payment to another website

Job ID: 31976847

Budget: $30 – $250 USD

Hello

I have 2 websites:

Website A — woocommerce wordpress site

Website B — also a woocommerce wordpress site

What I'm trying to achieve is the following:

When a user wants to checkout and pay for the goods on website A, he will be redirected to a payment form on website B (the checkout process will happen on website B even though the cart is on website A.

What I don't know is how could I setup this checkout process and pass the amount that the user needs to pay from website A to website B.
Related categories: PHP WordPress WooCommerce