Automatical payments for reorder

Automatical payments for reorder

katb_inc
Visitor
1 0 0

Hi,

 

I’m working on a third-party solution for automating reordering. I need to create a new order based on a client’s order and process automatic payment for it. Here’s my plan for how to proceed:

 

  1. Create the order (copy all information from the original, so the shipping address will use the client’s details).
  2. Change the billing address to my company’s address.
  3. Automatically apply payment (without redirects, etc.) using my payment method (e.g., Stripe).
  4. The payment is made by a third party, not the store.

 

The payment must be processed automatically, without manual intervention.

Once the payment is completed, the order will be marked as complete and moved to processing.

 

The challenge I face is with the payment process. For example, I have a Stripe account for payment handling, but it’s unclear how to integrate the transaction with Shopify’s workflow (or execute the transaction through Shopify’s API) to move the order through the process.

 

Could you help me understand which API would be suitable for this case?

Replies 0 (0)