-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ref T2523 - new webhook * Ref T2523 - new webhook * Ref T2523 - Add webhook to list * Ref T2523 - Typo * Ref T2523 - Update webhook
- Loading branch information
Showing
3 changed files
with
26 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
namespace Fortifi\Webhooks\Events; | ||
|
||
final class TransactionWHE | ||
{ | ||
const FAILED = 'transaction.failed'; | ||
} |
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,16 @@ | ||
<?php | ||
namespace Fortifi\Webhooks\Payloads\Transaction; | ||
|
||
use Fortifi\Webhooks\Payloads\Foundation\DataNodeWHP; | ||
|
||
class TransactionFailedWHP extends DataNodeWHP | ||
{ | ||
public $subscriptionFids = []; | ||
public $attemptNumber; | ||
public $amount; | ||
public $amountUsd; | ||
public $exchangeRate; | ||
public $transactionDate; | ||
public $errorStatus; | ||
public $customerFid; | ||
} |
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