• Resolved Awais

    (@awais300)


    How to access the secret key with WooCommerce Payments. or where API keys are stored in DB by the WooCommerce payments plugin?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Awais

    (@awais300)

    I’m trying to do something like this https://stackoverflow.com/a/56278468/1509720
    but I can’t figure out how to get the api_key in WooCommerce Payments plugin.

    Plugin Support B C. a11n

    (@battouly)

    Hi @awais300,

    How to access the secret key with WooCommerce Payments, or where API keys are stored in DB by the WooCommerce payments plugin?

    With WooCommerce Payments, we don’t expose those keys to the merchant. All the authentication is done through the Jetpack connection.

    If you need access to API keys, you may want to go with the Stripe plugin.

    I hope this helps clarify your request!

    Best.

    Thread Starter Awais

    (@awais300)

    @battouly Thank you for your reply.

    Do WooCommerce Payments provide any PHP function to charge the customer again via Stripe programmatically? If you can point me to that function that would be great. Thanks!

    Hey @awais300,

    Do WooCommerce Payments provide any PHP function to charge the customer again via Stripe programmatically? If you can point me to that function that would be great.

    Charging customers is all done via the WooCommerce Payments API which as my colleague mentioned, is accessed via a Jetpack connection.

    There is no single PHP function you can call in order to charge a customer again programmatically. This is a fairly complex development topic and not something that’s within the scope of support we’re able to give.

    If you’re looking for an easy way to generate additional charges for customers then you might be interested in WooCommerce Subscriptions which integrates deeply with WooCommerce Payments. You could then use AutomateWoo to control the billing schedule and charge customers at the right time.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    I hope that helps!

    Kind regards,

    Thread Starter Awais

    (@awais300)

    Thank you both.
    I will look into WooCommerce Subscription and AutomateWoo. Thanks again!

    Plugin Support nathvi V. a11n

    (@nathvi)

    You are most welcome @awais300

    I’ll mark this thread as resolved for now, if you need anything else please let us know.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Stripe keys’ is closed to new replies.