• Resolved invistic

    (@invistic)


    Hello,

    When I try to do a refund on the order I get this error:

    An error occurred while attempting to create the refund using the payment gateway API.

    here comes the woo log:

    02-01-2022 @ 19:47:33 - --------------------
    02-01-2022 @ 19:47:33 - Swish API Exception file: /home/httpd/vhosts/XXXXXXXXX.se/httpdocs/wp-content/plugins/woo-swish-e-commerce/classes/api/woo-swish-api-connection.php
    02-01-2022 @ 19:47:33 - Swish API Exception line: 191
    02-01-2022 @ 19:47:33 - Swish API Exception code: 422
    02-01-2022 @ 19:47:33 - Swish API Exception message: RF07 - Check the payment with your Bank
    02-01-2022 @ 19:47:33 - Swish API Exception Request URL: https://swish.finnvid.net/v1/swish-cpcapi/api/v1/refunds
    02-01-2022 @ 19:47:33 - Swish API Exception Request DATA: {"payerPaymentReference":"204876","originalPaymentReference":"1614EE25063640CE86660DBC7BBC8A4E","callbackUrl":"https://XXXXXXXXX.se/wp-json/swish/callback?order_id=204876","payerAlias":"XXXXXXXXX","amount":"2845.25","currency":"SEK","message":"\u00c5ngrat k\u00f6p"}
    02-01-2022 @ 19:47:33 - Swish API Exception Response DATA: [{"errorCode":"RF07","errorMessage":"Transaction declined","additionalInformation":null}]
    02-01-2022 @ 19:47:33 - --------------------

    I have hidden sitename and payer for reason with “XXXXXXXXX”.
    Why this is not working? WP+WC+SWISH on latest plugin versions.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Unable to Refund’ is closed to new replies.