mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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('gateway_id', GATEWAY_STRIPE) !!}
|
||||||
{!! Former::populateField('show_address', 1) !!}
|
{!! Former::populateField('show_address', 1) !!}
|
||||||
{!! Former::populateField('update_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
|
@endif
|
||||||
|
|
||||||
{!! Former::select('payment_type_id')
|
{!! Former::select('payment_type_id')
|
||||||
@ -268,4 +273,4 @@
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@stop
|
@stop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user