hey guys so when i press my purchase button it gives me an error code 1 this time which means that the user cancelled the purchase. i dont know how this is possible really because all im doing is pressing a button to purchase so how could i purchase and cancel the order at the same time. here is the output from the command line debugger 
here is the purchase button code
i know you have to query the skus before making a purchase but im doing that already.
any input would be massively appreciated. Thanks in advance.