Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @coxy17

    The WooCommerce Stripe Payment Gateway has no built-in filter to clone a payment method to a connected account.

    The error message you are receiving is likely due to the Stripe API expecting the payment method to be cloned to the connected account when making Direct Charges. Stripe’s documentation outlines the process of cloning a payment method here: https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods

    To implement this in WooCommerce, you would need to custom code this functionality or hire a developer to do this for you. You can refer to the Stripe API documentation and the woocommerce_stripe_request_body filter you’re currently using as a starting point.

    Please note that we can’t provide support for coding or customization as per our support policy. Therefore, we recommend asking development questions on the #developers channel of the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question.

    I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.

    Thread Starter coxy17

    (@coxy17)

    Ah yes I was after cloning the payment method using a filter but thanks for letting me know there is not a built in filter for this. Are you suggesting there is a way with ‘woocommerce_stripe_request_body’? I am not asking for dev support with code, just wanted to know my options for adding the clone payment functionality.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hello @coxy17

    The woocommerce_stripe_request_body filter you’re currently using can be a starting point for your custom solution. However, it won’t directly allow you to clone the payment method. You would need to develop custom code or hire a developer to create this functionality based on the Stripe API documentation.

    It’s important to note that while the Stripe API allows for cloning of payment methods in connected accounts, implementing this within WooCommerce requires a custom solution. We recommend referring to the Stripe API documentation for further guidance on this.

    As per our support policy, we’re unable to provide support for custom coding or development. However, you may find assistance in the #developers channel of the WooCommerce Community Slack, where many of our developers and other experienced users can provide insights.

    I hope this information is helpful and points you in the right direction. Let us know if you have any other questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cloning Payment Methods to Connect Account’ is closed to new replies.