Closed jsakars closed 7 years ago
Hi, thanks. We've fixed this issue in v0.8.20 version.
@Swedbank-SPP it does not seem to be fixed to me:
Hello, could you show a steps how do you initiate payment and what steps you do after success/return url, and exactly where this error occurs? During initPayment or somewhere else?
Sure. These steps are the ones documented on SPP integration guide.
Initialize the payment
$response = $this->spp->getPayPalGateway()->initPayment(...);
return $response->getCustomerRedirectUrl($live);
User gets redirected to PayPal
Do nothing but click Cancel and return to ...
link
User gets redirected to $cancelUrl
handlePendingTransaction
method
return $this->spp->getPayPalGateway()->handlePendingTransaction($merchantReference);
This is were Exception is thrown and therefore callback is never triggered.
Thanks for detailed explanation. Please try now with updated v0.8.21 version.
Seems we are going into the loop :)
Callback is still not triggered but this time it comes from try-catch which is ignoring the exception.
I wonder if You have actually tested this Yourself?
Please try v0.8.24 version.
I don't want to be rude but this is getting frustrating - please test the code Yourself before releasing it!
Hi. Fixed this in v0.8.25
Finally it works 😌
Unknown value '571' was given for enum SwedbankPaymentPortal\SharedEntity\Type\PurchaseStatus
RuntimeException is being thrown when callinghandlePendingTransaction
onPayPalService
class. This leads to cURL call not being made.Here is the
GetExpressCheckoutDetailsResponse
XML: