Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Stripe Not Working

When I use the "Live" API keys (Secret/Publishable) from Stripe, it says this when I try to set them with the plugin:

You must enter a valid Stripe API Private key
You must enter a valid Stripe API Public key

Any idea why?

Comments

  • This is really a marketplace question.

    No idea why, are you happy to generate new keys?

    I'm guessing they changed the key format

    it was for

    • for PrivateKey: regex:`^[a-zA-Z0-9]{32}$` // basically 32 alpha numeric chars
    • for PublicKey: regex:`^pk_[a-zA-Z0-9]{29}$`` // pk_ followd by 29 alph numeric chars

    Since I don’t actually have a US bank account I don't have a live account. However i'm stoked they are finally moving to the UK!!

    You can set it manually in conf/config.php

    $Configuration['Plugins']['MarketPlace']['Gateway']['Stripe']['PrivateKey'] = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
    $Configuration['Plugins']['MarketPlace']['Gateway']['Stripe']['PublicKey'] = 'pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';

    grep is your friend.

Sign In or Register to comment.