• jimmy_t

    (@jimmy_t)


    Hi Eric

    I’m getting a few errors on this. I’ve followed all instructions as best I cam. I set up the developer account and got the fundraiser API yesterday (7th March).

    The status of the API key in my VM developer account page says ‘waiting’. How long do they usually take to sort the keys out?
    I’m presuming that the waiting staus is the cause of the errors I’m getting.
    https://challenge.telferscot.co.uk/test-virgin-api/
    and
    on the widget settings I am unable to select a ‘fundraiser page’
    their is also an error message:

    Warning: Invalid argument supplied for foreach() in /home/dadstelferscot/public_html/wp-content/plugins/wp-virgin-money-giving/includes/class-wp-fundraisers-widget.php on line 35

    Hope you can help

    Best wishes
    James

    • This topic was modified 8 years ago by jimmy_t.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jimmy_t

    (@jimmy_t)

    OK – so now the API key is active. Still no joy.

    When I click Verify your Virgin Money Giving settings I get this error:

    
    Error!
    
        errorCode : 001.02.004
        errorMessage : No fundraiser page found for supplied search criteria c5e50626-ec45-4982-ae90-8a96ea41d7f7
        inputDetails : Input parameters: resourceId=c5e50626-ec45-4982-ae90-8a96ea41d7f7
    

    Here is the test page url: https://challenge.telferscot.co.uk/test-virgin-api/

    • This reply was modified 8 years ago by jimmy_t.
    Thread Starter jimmy_t

    (@jimmy_t)

    Update:
    We now have used a different Fundraiser API Reference. The Verify button does not produce an error BUT the plugin still does not work.
    There is no option to select which fundraiser page to pull data from if a VMG user has multiple fundraiser pages on their account – as is the case here. I think this is causing issues. Can you help?

    anyone, anyone
    ….Bueller?

    • This reply was modified 8 years ago by jimmy_t.
    Thread Starter jimmy_t

    (@jimmy_t)

    Update 2
    Found the option to select the page in the widget.
    Now I’m getting this error:
    Warning: Division by zero in /home/dadstelferscot/public_html/wp-content/plugins/wp-virgin-money-giving/includes/class-wp-fundraisers-widget.php on line 109

    https://challenge.telferscot.co.uk/2017/03/08/balfes-bikes/

    Thread Starter jimmy_t

    (@jimmy_t)

    Update 3
    This error may be caused by the fact that a Target fundraising amount is not set. Not the plugin itself.
    I commented out line 109 and it works fine.

    …and stop talking to yourself you crazy fool!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Various errors possibly due to API not ready?’ is closed to new replies.