Skip to content

Commit 92dd371

Browse files
committed
Fix payment create response model
1 parent 6e24eb7 commit 92dd371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Response/PaymentCreate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ public function __construct(string $transactionId, string $redirectUrl)
1717

1818
public static function createFromResponse(array $data): self
1919
{
20-
return new self($data['transaction_id'], $data['redirect_url']);
20+
return new self($data['transactionId'], $data['redirectUrl']);
2121
}
2222
}

0 commit comments

Comments
 (0)