@extends('common.user.layout.base')
{{ App::setLocale( isset($_COOKIE['user_language']) ? $_COOKIE['user_language'] : 'en' ) }}
@section('styles')
@parent
@stop
@php
$paymentConfig = json_decode( json_encode( Helper::getSettings()->payment ) , true);
$cardObject = array_values(array_filter( $paymentConfig, function ($e) { return $e['name'] == 'card'; }));
//print_r($cardObject);exit;
$card = 0;
$stripe_publishable_key = "";
if(count($cardObject) > 0) {
$card = $cardObject[0]['status'];
$stripePublishableObject = array_values(array_filter( $cardObject[0]['credentials'], function ($e) { return $e['name'] == 'stripe_publishable_key'; }));
if(count($stripePublishableObject) > 0) {
$stripe_publishable_key = $stripePublishableObject[0]['value'];
}
}
@endphp
@section('content')
@include('common.user.includes.image-modal')
** Demo Mode : {{ __('admin.demomode') }}@lang('user.add_card')
@lang('user.address')