Merge pull request #6869 from beganovich/sentry-12288
Braintree: PayPal fixes
This commit is contained in:
commit
4c4ae1b868
2 changed files with 3 additions and 2 deletions
|
|
@ -140,7 +140,8 @@ class PayPal
|
|||
SystemLog::CATEGORY_GATEWAY_RESPONSE,
|
||||
SystemLog::EVENT_GATEWAY_SUCCESS,
|
||||
SystemLog::TYPE_BRAINTREE,
|
||||
$this->braintree->client
|
||||
$this->braintree->client,
|
||||
$this->braintree->client->company,
|
||||
);
|
||||
|
||||
return redirect()->route('client.payments.show', ['payment' => $this->braintree->encodePrimaryKey($payment->id)]);
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
data-token="{{ $token->token }}"
|
||||
name="payment-type"
|
||||
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">{{ optional($token->meta)->email }}</span>
|
||||
</label>
|
||||
@endforeach
|
||||
@endisset
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue