Title: Api Error message
Last modified: January 20, 2021

---

# Api Error message

 *  [irishetcher](https://wordpress.org/support/users/irishetcher/)
 * (@irishetcher)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/api-error-message-3/)
 * Hi,
 * I am experiencing an error message when setting up a simple payment collection.
   I am using the donation option as the form is to collect the balance after a 
   deposit has been paid for a tour earlier in the year. The balance can vary so
   user needs to enter the amount due.
 * All looks good so far but when I embed the shortrcode and test the form by clicking
   the button the overlay appears with the following message:
 * **IntegrationError: Invalid value for Stripe(): apiKey should be a string. You
   specified: false.**
 * I am using the same keys that are used in the Stripe payment gateway integration
   for WooCommerce and I have tested these with a test woo product.
 * My test is on a subdomain for testing. Would this be the issue?
 * And do the live keys also need to be added if I am only testing?

Viewing 1 replies (of 1 total)

 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/api-error-message-3/#post-13940733)
 * Hi, just to confirm with you. Did you enter the correct API key?
 * If you did enter the correct API, then check the following documentation.
 * [https://s-plugins.com/complete-test-transaction-using-stripe-payments-plugin/](https://s-plugins.com/complete-test-transaction-using-stripe-payments-plugin/)
 * Let me know if you followed the above instruction when you carried out your test.
 * Thank you

Viewing 1 replies (of 1 total)

The topic ‘Api Error message’ is closed to new replies.

 * ![](https://ps.w.org/stripe-payments/assets/icon-128x128.png?rev=2705524)
 * [Accept Stripe Payments](https://wordpress.org/plugins/stripe-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stripe-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stripe-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/stripe-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stripe-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stripe-payments/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/api-error-message-3/#post-13940733)
 * Status: not resolved