#34 Fixed 'Cannot pass token and PayerID to completePurchase'
Reformatted for PSR2 conformance
Fixed PHP5.3 distaste of index access after function call: ()[0]