-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for paying by redirection directly to a chosen bank #42
Conversation
tests/Unit/Payum/Action/Api/GetTpayTransactionsChannelsTest.php
Outdated
Show resolved
Hide resolved
4ba1229
to
6b56e3a
Compare
I see there's no API part. Do you plan to add it do this PR or as a separate one? We already have |
$payload = $this->createRedirectBasedPaymentPayloadFactory->createFrom($payment, $notifyUrl, $localeCode); | ||
|
||
/** @var array{tpay?: array{pay_by_link_channel_id?: string}} $paymentDetails */ | ||
$paymentDetails = $payment->getDetails(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As previously, PaymentDetails
object
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think here we should extend the PaymentDetails object as later I cant check if key exists, and get value of 'pay_by_link_channel_id' so in other payload factories same issue would exist. I am adding this comment as reference for the improvements task
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This object is our own, so you can just put what you need there :D
Comments that were as improvements and the API one has been added as task on board and refererenced there - https://github.com/orgs/CommerceWeavers/projects/9/views/1?filterQuery=&pane=issue&itemId=82030548 |
6b56e3a
to
dea6123
Compare
Closes #23