diff --git a/resources/views/accounts/partials/payment_credentials.blade.php b/resources/views/accounts/partials/payment_credentials.blade.php index e48dafbb0942..696c0318bc92 100644 --- a/resources/views/accounts/partials/payment_credentials.blade.php +++ b/resources/views/accounts/partials/payment_credentials.blade.php @@ -1,5 +1,8 @@ {!! Former::populateField(GATEWAY_STRIPE . '_apiKey', env('STRIPE_TEST_SECRET_KEY')) !!} {!! Former::populateField('publishable_key', env('STRIPE_TEST_PUBLISHABLE_KEY')) !!} +@if (Utils::isTravis()) + {!! Former::populateField('enable_ach', 1) !!} +@endif {!! Former::populateField('plaid_client_id', env('PLAID_TEST_CLIENT_ID')) !!} {!! Former::populateField('plaid_secret', env('PLAID_TEST_SECRET')) !!} {!! Former::populateField('plaid_public_key', env('PLAID_TEST_PUBLIC_KEY')) !!} diff --git a/tests/_support/AcceptanceTester.php b/tests/_support/AcceptanceTester.php index 635e3801e47a..7e675fc98381 100644 --- a/tests/_support/AcceptanceTester.php +++ b/tests/_support/AcceptanceTester.php @@ -126,6 +126,7 @@ class AcceptanceTester extends \Codeception\Actor $clientSession->does(function(AcceptanceTester $I) use ($invitationKey) { $I->amOnPage('/view/' . $invitationKey); $I->click('Pay Now'); + $I->click('Credit Card'); $I->fillField('#card_number', '4242424242424242'); $I->fillField('#cvv', '100'); $I->selectOption('#expiration_month', 12);