Create a Custom Payment

I want a basic payment process for my custom pack creator. I’ll explain everything with my example.

Project Name : Custom Pack Creator
What We Want : We want to create 15 dropdown elements with true and false. Then if the choice is true we’ll add X price to the total price. The total price will start with 0 and every dropdown element will add a price (number) to the total price.

if x element choice is true it will add 15$ more if it’s false it will just add nothing. End when all selections end pay button will work and it will calculate total price then the customer will pay the total price.

Details:

I need to see each element is true or false in a database or orders tab. We need that! database or on orders tab doesn’t matter just we need to see true and falses.

How can I do that?