-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove migration file and all usage of Order Model (making package in…
…dependent), add localization to response messages, add custom exceptions, and make all classes use PaymentInterface as a contract
- Loading branch information
Showing
14 changed files
with
257 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 0 additions & 42 deletions
42
database/migrations/2030_09_29_154000_update_orders_table.php
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
return [ | ||
'PAYMENT_DONE' => 'تمت العملية بنجاح', | ||
'PAYMENT_FAILED' => 'حدث خطأ أثناء تنفيذ العملية', | ||
'PAYMENT_FAILED_WITH_CODE' => 'حدث خطأ أثناء تنفيذ العملية ، كود الخطأ : :CODE', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
return [ | ||
'PAYMENT_DONE' => 'operation completed successfully', | ||
'PAYMENT_FAILED' => 'An error occurred while executing the operation', | ||
'PAYMENT_FAILED_WITH_CODE' => 'An error occurred while executing the operation, error code: :CODE', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.