Integrate a credit card payment form with Braintree's API into Yii2