|
@@ -119,7 +119,7 @@ discard block |
|
|
block discarded – undo |
|
119
|
119
|
|
|
120
|
120
|
$this->invoice->transactionId($body['payment_id']); |
|
121
|
121
|
|
|
122
|
|
- $this->cache->set('payment_link_' . $body['payment_id'], $body['link'], $this->settings->cacheExpireTTL); |
|
|
122
|
+ $this->cache->set('payment_link_'.$body['payment_id'], $body['link'], $this->settings->cacheExpireTTL); |
|
123
|
123
|
|
|
124
|
124
|
// return the transaction's id |
|
125
|
125
|
return $this->invoice->getTransactionId(); |
|
@@ -132,7 +132,7 @@ discard block |
|
|
block discarded – undo |
|
132
|
132
|
*/ |
|
133
|
133
|
public function pay(): RedirectionForm |
|
134
|
134
|
{ |
|
135
|
|
- $payUrl = $this->cache->get('payment_link_' . $this->invoice->getTransactionId()); |
|
|
135
|
+ $payUrl = $this->cache->get('payment_link_'.$this->invoice->getTransactionId()); |
|
136
|
136
|
|
|
137
|
137
|
return $this->redirectWithForm($payUrl, [], 'GET'); |
|
138
|
138
|
} |
|
@@ -177,7 +177,7 @@ discard block |
|
|
block discarded – undo |
|
177
|
177
|
throw new InvalidPaymentException($body['message'], $body['error_code'] ?? 0); |
|
178
|
178
|
} |
|
179
|
179
|
|
|
180
|
|
- $receipt = $this->createReceipt($paymentReceiptNumber); |
|
|
180
|
+ $receipt = $this->createReceipt($paymentReceiptNumber); |
|
181
|
181
|
|
|
182
|
182
|
$receipt->detail([ |
|
183
|
183
|
'id' => $body['id'], |
Please login to merge, or discard this patch.