Skip to main content

Organizers - Setting up Payment Processing Inside Registration

This looks at the setup needed for Stripe.com. This guide is an overview.

The end goal is to get two "API keys" (the Live Secret Key and the Live Publishable Key) sent to Krisvia email for inclusion in the software on the back end and also setting up a "web hook" inside your Stripe account so that Stripe can tell NRS when payments were successful.

Step 1: Create a your Stripe.com account.

Step 2: In the upper right corner, click your name for the dropdown, then select "Account Settings".

Step 3: Go to the "API Keys" tab. Copy the Live Secret Key and the Live Publishable Key and email them to Kris. You may need to "generate" these keys the first time.

You will have a Secret Key that looks like this:
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

You will also have a Private Key that looks like this:
pk_live_51IGxQjIBeT61faKGO52PbUyLQjnHBybG8R5W2BCOYvkQmxzhpBllPTkZo00ptXgyiMDQaPVpyKui6ump071FV4wQBLGQFgPTB4

Send both. If your keys start as "sk_test_xxxx..." and "pk_test_xxxx..." then your account is still in test mode, you need to flip the switch in there to set it live.

Step 4: Go the "Webhooks" tab. Select "+ Add URL". Change the Mode from Test to Live, and past this URL:
http://www.nasarallysport.com/nrsdb/user-stripe-webhook.php

Step 5: Go the "Transfers" tab. You will need to set up your bank account here. Stripe will go through the standard make-a-small-deposit to verify the deposit. Step 5 has nothing to do with the NRS registration software... but you'll need it to get your money! ;)

On the Stripe.com side, setup is complete.

On the NRS side, inside registration, go to "Entry Prices - Create / Edit". For each product, choose Stripe as the processor and under Merchant ID, just use the abbreviation listed for your rally. Your API keys are built into the code, you never need to enter them inside registration, and they cannot be viewed inside registration.

Note that if you regenerate the the keys by hitting the circular recycle looking button, the keys you sent previously become invalid.