WordPress.org

Ready to get started?Download WordPress

Forums

Pronamic iDEAL
[resolved] Error when ideal returns to website (3 posts)

  1. mrbicho
    Member
    Posted 1 year ago #

    Hello,

    I'm trying to set up Pronamic IDEAL with these versions:

    WooCommerce versie 1.6.5.2
    WordPress versie WP 3.4.2
    Geïnstalleerde plugins
    Pronamic iDEAL door Pronamic versie 1.0,
    WooCommerce (nl) door Pronamic versie 0.3.18,
    WooCommerce door WooThemes versie 1.6.5.2

    The bank is ABN AMRO and iDeal Only Kassa payment method. First, I don't know the urls I have to set in the iDEAL backend for Accepturl, exceptionurl... I have set for all of them the root of the wordpress installation. The payment with ideal seems to work, but when it gets back to the website I get this error.

    Fatal error: Cannot redefine class constant Pronamic_Gateways_IDealInternetKassa_Statuses::AUTHORIZED_AND_CANCELLED in \www\wp-content\plugins\pronamic-ideal\classes\Pronamic\Gateways\IDealInternetKassa\Statuses.php on line 130

    I see in this class that the constant is defined twice. What should I do to fix the problem?

    Thanks in advance!

    http://wordpress.org/extend/plugins/pronamic-ideal/

  2. Remco Tolsma
    Member
    Plugin Author

    Posted 1 year ago #

    I have set for all of them the root of the wordpress installation.

    You can use any URL of your WordPress installation, so the root URL is fine.

    I see in this class that the constant is defined twice. What should I do to fix the problem?

    You can rename the second definition to 'AUTHORIZED_AND_CANCELLED_64':
    https://github.com/pronamic/wp-pronamic-ideal/blob/master/classes/Pronamic/Gateways/IDealInternetKassa/Statuses.php#L127

    Thanks for noticing this issue, it will be fixed in the next release.

  3. mrbicho
    Member
    Posted 1 year ago #

    Hi Remco,

    thanks a lot for your reply... Seems to work in test (waiting for the production approval). I will let you know :)

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.