• Resolved ahmedali774

    (@ahmedali774)


    Dear Sevengits,

    I hope this email finds you well.

    I am currently using your WooCommerce Order Approval plugin, and I need to make some modifications. As of now, the plugin provides the payment option after the order approval. However, I would like to add the payment option during the order placement itself, so that when the client places an order, they can make the payment right away.

    Could you please guide me on how to implement this feature?

    Looking forward to your response.

    Best regards,
    Ahmed Ali

    • This topic was modified 2 months, 2 weeks ago by ahmedali774.
Viewing 1 replies (of 1 total)
  • Plugin Support ashlyjohny

    (@ashlyjohny)

    Hello @ahmedali774 ,

    Currently, our plugin is designed to provide a payment link only after the order is approved, so it doesn’t support payment during the checkout process. This ensures that customers make payments only after the approval. Adding the ability to accept payments upfront at checkout might lead to customer frustration, as they would have already paid for their order before it is approved. Moreover, managing potential refunds could add complexity to the process, which is why we haven’t implemented this feature.

    In WooCommerce, orders typically go through statuses like Pending -> Processing -> Completed/Shipped or Canceled. Our plugin introduces a custom “Waiting” status, where orders are placed initially. Once approved, they transition to “Pending,” after which the order follows the regular WooCommerce flow. This setup maintains compatibility with third-party plugins.

    For payments, we use a custom payment gateway called “woa-gateway(pro)” in the premium version and “woa_gateway” in the free version. You can enable or disable these gateways during checkout programmatically, based on conditions such as order status. Many resources online can show how to conditionally control payment gateways based on specific conditions, allowing flexibility in choosing whether to accept payment before or after order approval.

    Please note that unless there is considerable demand from our premium users, we do not plan to implement payment during order placement in the near future.

    I hope this helps guide you in addressing the issue. Feel free to reach out if you have more questions or need further assistance!

    If you are using the free version, please follow this support thread. If you are a premium user, please continue the conversation through our?email?thread.

    Thank you!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.