• Resolved dkrahl

    (@dkrahl)


    Hi again,

    I am still in Test Mode. A test purchase with the number 7000000 worked and shows up in orders: https://ibb.co/pyGTPNR

    When trying to refund, the button offers to refund 0,00€ and I cannot modify: https://ibb.co/F6BdJCg When clicking the button, the error message “Refund Failed: No transaction ID” https://ibb.co/4sy8q5M appears.

    Is this due to Test Mode? Or how can I refund the 1.21€ of the test purchase?

    I did not try “pasar a produccion” en Redsys Admin Panel yet as it states “Atención, no tienes ninguna devolución autorizada en los últimos 30 dias”.

    Thank you,

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jose Conti

    (@jconti)

    Hi @dkrahl,

    You need to set the number of products/items to refund. First press the up button under the Qty, and then press the refund button.

    Thread Starter dkrahl

    (@dkrahl)

    Thank you Jose, the refund amount shows now correctly.

    When clicking the button, it states “Are you sure you wish to process this refund? This action cannot be undone.” ->OK->”Refund Failed: No transaction ID“. Is this due to test mode?

    Plugin Author Jose Conti

    (@jconti)

    In mi dev site works fine, @dkrahl.

    Do you have Bizum logs enabled? If yes, paste it here please.

    Thread Starter dkrahl

    (@dkrahl)

    Hi Jose,

    Here is the log file for a new order paid with Bizum and cancellation. Thank you.

    01-13-2023 @ 09:28:30 -  
    01-13-2023 @ 09:28:30 - /****************************/
    01-13-2023 @ 09:28:30 -    Generating Redsys Form     
    01-13-2023 @ 09:28:30 - /****************************/
    01-13-2023 @ 09:28:30 -  
    01-13-2023 @ 09:28:30 -  
    01-13-2023 @ 09:28:30 - /****************************/
    01-13-2023 @ 09:28:30 -          SHA256 Test.         
    01-13-2023 @ 09:28:30 - /****************************/
    01-13-2023 @ 09:28:30 -  
    01-13-2023 @ 09:28:30 -  
    01-13-2023 @ 09:28:30 - /****************************/
    01-13-2023 @ 09:28:30 -           URL Test RD         
    01-13-2023 @ 09:28:30 - /****************************/
    01-13-2023 @ 09:28:30 -  
    01-13-2023 @ 09:28:30 -  
    01-13-2023 @ 09:28:30 - /****************************/
    01-13-2023 @ 09:28:30 -          SHA256 Test.         
    01-13-2023 @ 09:28:30 - /****************************/
    01-13-2023 @ 09:28:30 -  
    01-13-2023 @ 09:28:30 - Generating payment form for order 3013. Sent data: Array
    (
        [Ds_SignatureVersion] => HMAC_SHA256_V1
        [Ds_MerchantParameters] => eyJEU19NRVJDSEFOVF9BTU9VTlQiOiIxMjEiLCJEU19NRVJDSEFOVF9PUkRFUiI6IjgwODAwMDAwMzAxMyIsIkRTX01FUkNIQU5UX01FUkNIQU5UQ09ERSI6IjA1ODQ0OTY5NSIsIkRTX01FUkNIQU5UX0NVUlJFTkNZIjo5NzgsIkRTX01FUkNIQU5UX1RSQU5TQUNUSU9OVFlQRSI6IjAiLCJEU19NRVJDSEFOVF9URVJNSU5BTCI6IjAwMSIsIkRTX01FUkNIQU5UX01FUkNIQU5UVVJMIjoiaHR0cHM6XC9cL3d3dy5odWJkZWxub3J0ZS5jb21cLz93Yy1hcGk9V0NfR2F0ZXdheV9iaXp1bXJlZHN5cyIsIkRTX01FUkNIQU5UX1RJVFVMQVIiOiJURXN0bmFtZSBMYXN0dGVzdCIsIkRTX01FUkNIQU5UX1VSTE9LIjoiaHR0cHM6XC9cL3d3dy5odWJkZWxub3J0ZS5jb21cL2NoZWNrb3V0XC9vcmRlci1yZWNlaXZlZFwvMzAxM1wvP2tleT13Y19vcmRlcl93WmxKcGlnakZMbE54JnV0bV9ub292ZXJyaWRlPTEiLCJEU19NRVJDSEFOVF9VUkxLTyI6Imh0dHBzOlwvXC93d3cuaHViZGVsbm9ydGUuY29tXC9jYXJyaXRvXC8/Y2FuY2VsX29yZGVyPXRydWUmb3JkZXI9d2Nfb3JkZXJfd1psSnBpZ2pGTGxOeCZvcmRlcl9pZD0zMDEzJnJlZGlyZWN0Jl93cG5vbmNlPTJhOWIwYzJlMjMiLCJEU19NRVJDSEFOVF9DT05TVU1FUkxBTkdVQUdFIjoiMSIsIkRTX01FUkNIQU5UX1BST0RVQ1RERVNDUklQVElPTiI6Ik9yZGVyIDMwMTMiLCJEU19NRVJDSEFOVF9NRVJDSEFOVE5BTUUiOiJIdWIgZGVsIE5vcnRlIiwiRFNfTUVSQ0hBTlRfUEFZTUVUSE9EUyI6InoifQ==
        [Ds_Signature] => XRWI2iJpb6GuMvgKVM2psM/AwuSdSkOSW/VPyDh/wE0=
    )
    
    01-13-2023 @ 09:28:30 - Helping to understand the encrypted code: 
    01-13-2023 @ 09:28:30 - DS_MERCHANT_AMOUNT: 121
    01-13-2023 @ 09:28:30 - DS_MERCHANT_ORDER: 808000003013
    01-13-2023 @ 09:28:30 - DS_MERCHANT_MERCHANTCODE: xxx
    01-13-2023 @ 09:28:30 - DS_MERCHANT_CURRENCY978
    01-13-2023 @ 09:28:30 - DS_MERCHANT_TRANSACTIONTYPE: 0
    01-13-2023 @ 09:28:30 - DS_MERCHANT_TERMINAL: 001
    01-13-2023 @ 09:28:30 - DS_MERCHANT_MERCHANTURL: https://www.xxx.com/?wc-api=WC_Gateway_bizumredsys
    01-13-2023 @ 09:28:30 - DS_MERCHANT_URLOK: https://www.xxx.com/checkout/order-received/3013/?key=wc_order_wZlJpigjFLlNx&utm_nooverride=1
    01-13-2023 @ 09:28:30 - DS_MERCHANT_URLKO: https://www.xxx.com/carrito/?cancel_order=true&order=wc_order_wZlJpigjFLlNx&order_id=3013&redirect&_wpnonce=2a9b0c2e23
    01-13-2023 @ 09:28:30 - DS_MERCHANT_CONSUMERLANGUAGE: 1
    01-13-2023 @ 09:28:30 - DS_MERCHANT_PRODUCTDESCRIPTION: Order 3013
    01-13-2023 @ 09:28:30 - DS_MERCHANT_PAYMETHODS: z
    01-13-2023 @ 09:28:38 - HTTP Notification received: Array
    (
        [Ds_SignatureVersion] => HMAC_SHA256_V1
        [Ds_Signature] => xe_iNL1zSaU24u6yGA-bbVXXns2waLfRjF8JnHXYmsA=
        [Ds_MerchantParameters] => eyJEc19EYXRlIjoiMTNcLzAxXC8yMDIzIiwiRHNfSG91ciI6IjA5OjI4IiwiRHNfU2VjdXJlUGF5bWVudCI6IjEiLCJEc19BbW91bnQiOiIxMjEiLCJEc19DdXJyZW5jeSI6Ijk3OCIsIkRzX09yZGVyIjoiODA4MDAwMDAzMDEzIiwiRHNfTWVyY2hhbnRDb2RlIjoiMDU4NDQ5Njk1IiwiRHNfVGVybWluYWwiOiIwMDEiLCJEc19SZXNwb25zZSI6IjAwMDAiLCJEc19NZXJjaGFudERhdGEiOiIiLCJEc19UcmFuc2FjdGlvblR5cGUiOiIwIiwiRHNfQ29uc3VtZXJMYW5ndWFnZSI6IjEiLCJEc19BdXRob3Jpc2F0aW9uQ29kZSI6IjAwMDAwMCIsIkRzX1Byb2Nlc3NlZFBheU1ldGhvZCI6IjY4In0=
    )
    
    01-13-2023 @ 09:28:38 - Received INVALID notification from Servired/RedSys
    01-13-2023 @ 09:28:38 - $remote_sign: 
    01-13-2023 @ 09:28:38 - $localsecret: 
    01-13-2023 @ 09:29:31 - $order_id#: 
    Plugin Author Jose Conti

    (@jconti)

    Ok, @dkrahl

    I think it is a bug. Add the live SHA256 to the settings, and I think it will work. I’ve to fix the problem. The plugin only checks the live SHA256, so the notification is not validated if it is not set.

    Thread Starter dkrahl

    (@dkrahl)

    live mode is working just fine, thank you Jose.

    • This reply was modified 2 years, 2 months ago by dkrahl.
    Plugin Author Jose Conti

    (@jconti)

    You’re welcome, @dkrahl

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Refund Failed: No transaction ID’ is closed to new replies.