Question: Strip Payment Api Error

Strip Payment Api Error

I'm having error its says something with api for stripe so could you advise me what is wrong please.

KK

kulendran kajendran

Asked
I'm having error its says something with api for stripe so could you advise me what is wrong please.
  • MS

    Mian Saleem

    Answered
    Hello,

    The error says it clearly `API key is invalid`

    Please try to get API key from Stripe dashboard and update them before asking Stripe.

    Thank you
  • KK

    kulendran kajendran

    Answered
    hi saleem, i got 2x sites and this has problem, we tested the keys they are fine, now please tell me what we can do?
    its 100% not the key problem, i tested many times even the key i'm using for my other business.
    please sort this out for me saleem.
  • KK

    kulendran kajendran

    Answered
    Stripe Checkout can't communicate with our payment processor because the API key is invalid. Please contact the website owner or [email protected].,

    this works fine, we checked on other site.
  • MS

    Mian Saleem

    Answered
    Hello,

    I have noticed that the stripe key length has been changed. SIM field can only hold 55 characters. That might be the reason.

    Please try to run the following queries after selecting your database.

    ```sql
    ALTER TABLE `sim_stripe` CHANGE `secret_key` `secret_key` varchar(191) NULL;
    ALTER TABLE `sim_stripe` CHANGE `publishable_key` `publishable_key` varchar(191) NULL;
    ```

    After that save the the stripe setting again and pay attention if the page show the full keys after save.

    Let me know if it helps.

    Thank you
  • KK

    kulendran kajendran

    Answered
    thats right its a key issues, i tried to follow your instructions destroyed my DB, now i'm reinstalling , could you not send me pre edited sql database file pls for fresh installations
  • KK

    kulendran kajendran

    Answered
    OKAY All FIXED.
  • MS

    Mian Saleem

    Answered
    Fresh installation will be fine as I have already updated database. Thank you
  • KK

    kulendran kajendran

    Answered
    how can you have control over my database?
  • MS

    Mian Saleem

    Answered
    Hello,

    Not you database. I said fresh install. Installation get database schema from our server to create tables on your database.

    **_We don't have any control over your database._**

    Thank you
  • Login to Reply