Skip to content

Commit

Permalink
Merge pull request #5 from SimPaypl/fix/payment-create-response-model
Browse files Browse the repository at this point in the history
Fix payment create response model
  • Loading branch information
wgorczyca committed Mar 13, 2024
2 parents 6e24eb7 + 92dd371 commit 8f95611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Response/PaymentCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ public function __construct(string $transactionId, string $redirectUrl)

public static function createFromResponse(array $data): self
{
return new self($data['transaction_id'], $data['redirect_url']);
return new self($data['transactionId'], $data['redirectUrl']);
}
}

0 comments on commit 8f95611

Please sign in to comment.