How to set a value using an on clicked event with unreal Engine?

I am using a widget based system on unreal engine. My game is based upon making a choice and having it give you negative or positive results. For Example level 1 A is worth 30$ level 1 B option is worth 50$ i want to be able to save the value throughout the game and display at the end. How would I do that .