The Stripe integration with SurveySparrow lets you collect payments via credit/debit cards through your forms. With this integration, you can respond to a form and make a payment, all on a single platform.
For instance, let’s say you want to collect donations for your charity organization. With the Stripe integration, you can collect donations via forms.
Note: We do not disclose or save your credit/debit card information. All payments are handled by Stripe.
Make seamless transactions and experience automation at its finest with Stripe Payment integration:
Let your respondents avail discount coupons:
It’s that easy!
Let’s see how it works:
After creating your form, select the Payment question type from the Question Type Panel.
2. You'll get the following screen:
Click on ‘Connect to Stripe’.
3. Enter the required details and authorize access to your Stripe account.
4. Once you’ve authorized access, you will be redirected back to your form.
5. You can either enter the price manually or use Expressions to calculate the final amount. If you have used Expressions in your form, you can enable the ‘Use Expressions’ option to display the final amount in your question.
You can also pick the currency from the given dropdown list. There are 15 different currencies to choose from. We have recently added SGD - S$ and RON - lei.
Using Discount Coupons
With Stripe integration, you can also provide discount codes to your respondents.
Here’s how it works:
Enable the Discount Coupons option.
Enter your coupon code and select whether you want to provide a discount by percentage or amount.
You can use the + and - icons to add and delete a coupon, respectively.
You can also see the applied discount coupon(s) in your Reports and Responses.
6. Finish creating your form and proceed to Design.
7. Now while a respondent is filling up your form, they can enter their credit/debit card details to complete their payments. Once the respondent clicks Submit(on the last page of the survey), the transaction takes place.
If your payment is unsuccessful, after clicking on ‘Submit’, you will be directed back to the payment question with the respective error message displayed. On the other hand, if the payment question was made Optional and if you skip the same, you can still submit the form without making the payment, and the payment status will be displayed as ‘Payment Skipped’.
8. You can view your payment status in the Responses section.
9. Once the payment has been completed, you can view all the information about the payment in your Stripe account.
Enable Auto-Receipts and generate Invoices
You can now send payment invoices and receipts directly to your customers’ email ID using the Stripe auto-receipt feature.
Here’s how it works:
Enable the Auto Receipt toggle in the payment question type.
Choose the customer’s email address by selecting the email question type, from the dropdown list.
Go to your Stripe account, from Settings -> Emails, enable “Successful Payments” toggle, and Save.
Post-purchase, your customers will receive the invoices directly in their inbox, hassle-free.
10. Our Newest release of Stripe lets you pass the payment in three different types - Amount, Expression, Variable.
11. If you are passing the payment as a Variable or as an Expression, you'll have to create the corresponding custom variables and expressions on the Global Variables Section of your Survey builder.
Passing the payment as a Variable
12. While passing the payment as a Variable, choose Variable from the dropdown and select the custom variable which you created for this survey.
Click here to read more about creating Custom Variables.
13. Come back to the Global Variables section of your survey builder, and copy the survey URL which is highlighted in a box.
14. For example, if I'm requesting $40 from my survey respondent, the survey URL which I should pass will look something like this.
Please refer to the screenshot below to know how exactly you should pass the survey URL appended with a Variable.
Passing the amount as an Expression
16. We will explain Step by Step with a small example to make you understand the concept of Expressions better. In our use case, we’re trying to collect information about the Cake that the customer prefers to order.
The first question can be the type of Cake that the customer wants to order - Vanilla, Strawberry, Butterscotch, or any flavour. .
Now that we know the cake type, we should also know the cake quantity. However the price is same for all the cakes - 0.5 kg is $15 & 1 kg is $30.
The price only varies when the quantity goes high.
So in this case, the second question can be a Multiple choice question with Scoring enabled.
17. The third question is to know what kind of toppings they prefer on the cake. This can again be achieved with a multiple choice question with Scoring enabled.
The prices for the toppings are:
For Nuts topping the price is $5
For Gems topping the price is $10
Note: The price of the Toppings should be added along with the cost of the cake, which is why we use Expressions.
18. Now that the questions are created, we should also create the corresponding Expression to add all the prices correctly.
Let’s see how to do that:
Go to the Global Variables sections.
Navigate to Expressions.
Create an Expression and name it.
Validate it after adding the conditions and save the Expression.
That’s it! You’ve successfully created an expression.
E.g. The Expression which we've created is
$amount = Score Q4 (Kgs of Cake they chose) + Score Q5 (The cost of toppings)
19. Now we should make sure of three things.
To make sure if the currency is chosen rightly.
To make sure if the Expression is selected as the payment method.
To make sure if the valid Expression is selected from the dropdown (In case if we have created multiple expressions)
20. Now we’re good to go. When we share our survey and let’s say a customer wants 0.5 kg of Vanilla cake with gems topping, the total amount that the customer has to pay will be $25, which will be displayed on the payment page.
Note: (i) For a form, you can only utilize 1 payment question at a time.
(ii) For this integration, we are disabling the option to edit & resubmit responses(under Survey Settings).
(iii) If you have used Expressions in your form, and if you have made an error while calculating the final value, the Payment question will display an ‘Invalid amount’ error.
How do refunds work with this integration?
In case of refunds, respondents can contact the survey creator for further details. On failure to connect with the survey creator, respondents can reach out to our Support team for further help. But please note that all refunds are handled only by Stripe.
2. What should I do if my payment is unsuccessful?
If your payment is unsuccessful, please contact the survey creator for further instructions.
3. Can I get notified once payment has been completed?
Yes, you can. As the survey creator, you can opt in for receiving email notifications from Stripe after every transaction. You can configure this in the Settings page of your Stripe account.
4. What is the minimum amount we can pay through Stripe?
The minimum amount that Stripe can process is 0.5 USD. Any amount below that will be declared as an ‘Invalid amount’ by Stripe and the payment will not take place.
5. Which currencies do you support?
We support 13 currencies. They are: USD(US Dollars), INR(Indian Rupee), EUR(Euros), GBP(Sterling), AUD(Australian Dollars), CAD(Canadian Dollars), CHF(Swiss Francs), NOK(Norwegian Krone), SEK(Swedish Krona), DKK(Danish Krone), MXN(Mexican Peso), NZD(New Zealand Dollars), BRL(Brasilian Real)
6. Can I test a Stripe payment with my survey?
Unfortunately, you cannot test payment details with this integration. If you want to test a payment, you can assign a small amount($1) to your Expression(or enter it manually) , and make a payment to yourself. We have ensured that our integration with Stripe allows for secure payments, hassle-free.
If you would like to know more about how Stripe handles payments, please visit https://stripe.com/docs.
Possible Use Cases
Possible Error Messages
When this occurs, the charge will be declined and no amount will be deducted from your account. Please check that the CVC code you have entered is correct.Did this answer your question?