You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use one redirect url for all the payments inside your project, you can add it to the .env as explained [above](#paytabs-keys).
127
+
⚠️ If you use one redirect url for all the payments inside your project, you can add it to the .env as explained [above](#paytabs-keys).
128
+
128
129
129
130
#### Framed Hosted Payment Page
130
131
To display the hosted payment page in an embed frame within the merchant website, you can call `framedPage`.
@@ -176,7 +177,8 @@ use Devinweb\LaravelPaytabs\Facades\LaravelPaytabsFacade;
176
177
177
178
$paytabs = LaravelPaytabsFacade::hideShipping();
178
179
```
179
-
If the billing details are already added, this function will hide the billing section as well.
180
+
181
+
⚠️️ If the billing details are already added, this function will hide the billing section as well.
180
182
181
183
182
184
#### Generate the hosted payment page
@@ -218,7 +220,26 @@ A row with `status=pending` will be added to the transactions table and a `Trans
218
220
219
221
}
220
222
```
221
-
After visiting the generated URL and finalizing your payment, the transaction status will be changed to `paid` and you will be redirected to your return url. A `TransactionSucceed` or a `TransactionFail` event will be fired.
223
+
After visiting the generated URL and finalizing your payment, the transaction status will be changed to `paid` or `failed` and you will be redirected to your return url. A `TransactionSucceed` or a `TransactionFail` event will be fired.
224
+
The payment result details will be posted to the redirect URL, as the example shown below:
You can visit the paytabs [official documentation](https://support.paytabs.com/en/support/solutions/articles/60000711358-what-is-response-code-vs-the-response-status-) to learn more about other paytabs Response Code/Status.
241
+
242
+
222
243
### Follow up a transaction
223
244
After initiating or finalizing your payment, you may need to do some operations on it.
You can visit the paytabs [official documentation](https://support.paytabs.com/en/support/solutions/articles/60000711358-what-is-response-code-vs-the-response-status-) to learn more about payment_result section.
286
+
⚠️ You can visit the paytabs [official documentation ](https://support.paytabs.com/en/support/solutions/articles/60000711358-what-is-response-code-vs-the-response-status) to learn more about payment_result section.
287
+
266
288
#### Refund, Capture or Void transaction
267
289
> Refund request is available for those Authenticated Sale transactions or Authenticated Capture transactions.
0 commit comments