# Payment Type

If you want to collect payments during a conversation, you can use the Payment
type, which is an advanced question type.



This allows you to charge users for things like bookings, registrations, orders,
or services.



Collectchat supports payments through Stripe, Razorpay, PayPal, and also a Cash
option for manual payments.


CLICK

Click or drag & drop the Payment type inside Questions.




EDIT

Click on edit to customize.



The following are the options you will see to edit this question type.



1. Currency



Select the currency in which you want to collect the payment from your users.



2. Amount Type



Choose how the payment amount should be calculated.

 * Fixed value
   
   Use this option if you want to charge the same amount from every user.
   
   

 * Calculated value
   
   Use this option if the payment amount should be calculated dynamically based
   on previous answers in the conversation.
   



3. Amount Value / Amount Formula



If Fixed value is selected, you can enter the amount that needs to be paid.



If Calculated value is selected, you can add the amount calculation formula
here.





Using Amount Formula



You can assign values to the options in Multi Choice
[https://collect.chat/help/article/1029-multi-choice-type] and Multi Select
[https://collect.chat/help/article/1032-multi-select-type] question types and
use those values in the payment calculation.




Click on the Edit icon next to your Multi Choice or Multi Select question and
select Assign values.



Enter a value for each option and click on Save.



Now click on the Edit icon of the Payment type question and select Calculated
value as the Amount type.



Click on the @ icon in the Amount Formula field and select the questions that
have assigned values.


If you have multiple questions to be calculated, you can combine them using the
+ operator to calculate the total amount.

Make sure values are assigned to the questions used in the formula.




4. Payment Methods



Select the payment methods you want to offer to the user.



Click on Add Payment Method to add a new payment option.



The following payment methods are currently supported:

 * Stripe

 * PayPal

 * Razorpay

 * Cash

Once you're done making changes, click on save.




CHECK

Click on Preview and check if the payment amount shown matches the value you
have set or calculated.





Note



Razorpay is available only when the selected currency is INR (Indian Rupee).





Tip





 * Click on the arrow icon next to publish to restore to previous version.
   
   

 * Once you click on publish, all pending changes will become live on your form.