1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Auto populate Stripe keys for testing

This commit is contained in:
Hillel Coren 2016-05-18 11:05:00 +03:00
parent 43defa270a
commit 510f5cffac

View File

@ -44,6 +44,11 @@
{!! Former::populateField('gateway_id', GATEWAY_STRIPE) !!}
{!! Former::populateField('show_address', 1) !!}
{!! Former::populateField('update_address', 1) !!}
@if (Utils::isNinjaDev())
{!! Former::populateField('23_apiKey', env('STRIPE_TEST_SECRET_KEY')) !!}
{!! Former::populateField('publishable_key', env('STRIPE_TEST_PUBLISHABLE_KEY')) !!}
@endif
@endif
{!! Former::select('payment_type_id')
@ -268,4 +273,4 @@
</script>
@stop
@stop