Skip to content
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

Transaction refund result: undefined index refundId #104

Closed
sanderbaas opened this issue Apr 9, 2020 · 1 comment
Closed

Transaction refund result: undefined index refundId #104

sanderbaas opened this issue Apr 9, 2020 · 1 comment

Comments

@sanderbaas
Copy link

sanderbaas commented Apr 9, 2020

After updating from version 1.5.12 to 1.5.13 the following error occured in my system:

 ErrorException  : Undefined index: refundId

  at /srv/http/www/vendor/paynl/sdk/src/Result/Transaction/Refund.php:19
    15|      * @return string The refundId
    16|      */
    17|     public function getRefundId()
    18|     {
  > 19|         return $this->data['refundId'];
    20|     }
    21| }
    22|

  Exception trace:

  1   Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Undefined index: refundId", "/srv/http/www//vendor/paynl/sdk/src/Result/Transaction/Refund.php", [])
      /srv/http/www/vendor/paynl/sdk/src/Result/Transaction/Refund.php:19

  2   Paynl\Result\Transaction\Refund::getRefundId()
      /srv/http/www/app/Booking.php:178

When I switch back to 1.5.12 everything works again.

@woutse
Copy link
Contributor

woutse commented Apr 9, 2020

Thanks for your message. This problem is allready fixed and pushed to the repository, but has not yet been released. So this fix will be in the next release which i expect to be released next week.

@woutse woutse closed this as completed Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants