catch for no email provided in braintree paypal integration

This commit is contained in:
David Bomba 2022-08-02 17:28:24 +10:00
parent 412a4a1315
commit 76225919e2

View File

@ -39,7 +39,7 @@
data-token="{{ $token->token }}" data-token="{{ $token->token }}"
name="payment-type" name="payment-type"
class="form-radio cursor-pointer toggle-payment-with-token"/> class="form-radio cursor-pointer toggle-payment-with-token"/>
<span class="ml-1 cursor-pointer">{{ $token->meta?->email }}</span> <span class="ml-1 cursor-pointer">{{ property_exists($token->meta, 'email') ? $token->meta?->email : 'no email provided'}}</span>
</label> </label>
@endforeach @endforeach
@endisset @endisset