• Resolved cesrafa

    (@cesrafa)


    Hello,

    When I run the test mode (I haven’t tried the real mode), if I try to pay with credit card, it takes me to the test mode page with the placeholder card, I click “simulate denial”, it takes me back to the woocommerce checkout without displaying any message.

    What is worse: it does not even display the payson box again.

    I registered the error in the log file and it printed this:

    [04-Jan-2017 22:11:23 UTC] PHP Fatal error:  Uncaught exception 'PaysonEmbedded\PaysonApiException' with message 'Api errors
    
    Message: HTTP status code: 400, Model validation failed.	 Parameter: 
    
    Message: The property can't be updated in the current state.	 Parameter: Order.Items
    
    ' in /Users/cesrafa/Dropbox/HPAkademin/Repository/hpakademin/wp-content/plugins/krokedil-paysoncheckout-20-for-woocommerce/includes/lib/paysonapi.php:125
    Stack trace:
    #0 /Users/cesrafa/Dropbox/HPAkademin/Repository/hpakademin/wp-content/plugins/krokedil-paysoncheckout-20-for-woocommerce/includes/lib/paysonapi.php(65): PaysonEmbedded\PaysonApi->doCurlRequest('PUT', 'https://test-ap...', Array)
    #1 /Users/cesrafa/Dropbox/HPAkademin/Repository/hpakademin/wp-content/plugins/krokedil-paysoncheckout-20-for-woocommerce/includes/class-wc-paysoncheckout-setup-payson-api.php(76): PaysonEmbedded\PaysonApi->UpdateCheckout(Object(PaysonEmbedded\Checkout))
    #2 /Users/cesrafa/Dropbox/HPAkademin/Repository/hpakademin/wp-content/plugins/krokedil-paysoncheckout-20-for-woocommerce/includes/clas in /Users/cesrafa/Dropbox/HPAkademin/Repository/hpakademin/wp-content/plugins/krokedil-paysoncheckout-20-for-woocommerce/includes/lib/paysonapi.php on line 125

    If I try to go to the checkout again, nothing appears: only the table that shows my products but the payson box never appears again. The only way I found to fix this is to clear all sessions in: Woocommerce > System Status > Tools > Clear all sessions

    I hope you could find a solution for this! Thank you in advance.

    • This topic was modified 7 years, 10 months ago by cesrafa.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No message of denial Credit Card’ is closed to new replies.