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:
parent
43defa270a
commit
510f5cffac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user