Skip to content

Commit 8f95611

Browse files
authored
Merge pull request #5 from SimPaypl/fix/payment-create-response-model
Fix payment create response model
2 parents 6e24eb7 + 92dd371 commit 8f95611

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)