setExpires('2050', '01') ->setBrand('FreeMoney') ->setLastFourDigits('9999') ->setMetadata( array( 'type' => 'test.wealth', )); return array(); } /** * @task addmethod */ public function renderCreatePaymentMethodForm( AphrontRequest $request, array $errors) { $ccform = id(new PhortuneCreditCardForm()) ->setSecurityAssurance( pht('This is a test payment provider.')) ->setUser($request->getUser()) ->setErrors($errors); Javelin::initBehavior( 'test-payment-form', array( 'formID' => $ccform->getFormID(), )); return $ccform->buildForm(); } }