In this post, we will show you how to update/Sync your API Keys in Stripe Payment Gateway with VatPay.
NOTE: make sure you update your live API keys in VatPay before you start sending invoices to your customers for live credit card payments.
The process is extremely easy. First let's start by verifying your current API keys in VatPay. If you've updated your test keys in the past, all you will need to do is follow the steps below to convert from Test to Live mode.
TEST MODE - Only used during testing. Test key start with pk_test for publishable key and pk_live for live publishable key. When using Test Mode, you don't have to use a live credit card. Use the following card credit information to process payments while testing.
To verify if you are still using your test API keys, login to your VatPay account (my.VatPay.com) and navigate to Payment Integration page.
- From VatPay Dashboard click 'More' menu item from left menu
- Finally click 'Payment Integration' to Create, Read, Update, or Delete your Stripe API keys.
Now look for Publishable and Secret keys. If the keys start with pk_test_ and sk_test_ that means you are still using the test keys. However if the keys start with pk_live_ and sk_live_, that means you are live and ready to start collecting payments for your invoices online. Once your clients pay at this point, the funds will be deposited into your bank account within 48 hours.
LIVE MODE - Live mode are used to processed live payments. Once you are done with testing, follow the steps below to turn on live mode in Stripe and copy your live keys to VatPay.
To access and update live API keys for live credit card processing;
- Make sure your Stripe Account has been activated.
- Click the toggle button at the bottom of the left menu to turn off test mode.
- Click 'Developers' menu on the left.
- Then click 'API Keys' still on the same left menu under the 'Developers' tab.
- Copy your Live publishable key into VatPay payment integration page. Please make sure you enter the publishable key in the appropriate box.
- Now go back to Stripe Dashboard and click the 'Reveal live key token' button.
- You might be asked to login again. Copy your live keys into VatPay Payment Integration page as well and then click the 'Update Payment' button at the bottom of the page in VatPay.
We normally recommend creating a test invoice for a dollar and sending to you. Pay with credit card and check your Stripe dashboard and credit card statement to make sure the payment was processed successfully.
Please reach out to VatPay Support (Support@VatPay.com) if you have any questions or if you run into any issues while updating your API keys.