Support » Plugin: Charitable - Instamojo Payment Gateway » InstaMojo Charitable custom donation receipt page error

  • Resolved sarvaaditrust

    (@sarvaaditrust)


    I am getting the following in the error log
    Platform – AWS Bitnami WordPress AMI
    Wordpress Version – WordPress 4.9.8
    Plugin – https://wordpress.org/plugins/integrate-charitable-instamojo/

    Error Message
    [Mon Oct 29 06:33:18.886752 2018] [proxy_fcgi:error] [pid 3780:tid 140553500862208] [client xx.xx.xx.xxx:53963] AH01071: Got error ‘PHP message: PHP Notice: Undefined variable: phone in /xx/xxx/xxxx/wordpress/htdocs/wp-content/plugins/integrate-charitable-instamojo/includes/gateway/class-charitable-gateway-instamojo.php on line 248\n’

    If I change
    1) The gateway to offline and donation receipt page to ” My custom page” then it works perfectly
    2) The gateway to instamojo and donation receipt page to Automatic then it works perfectly
    3) The error comes when selecting Instamojo as the payment gateway and donation receipt page to ” My custom page”

Viewing 1 replies (of 1 total)
  • Thread Starter sarvaaditrust

    (@sarvaaditrust)

    Thanks for the help from Eric, I was able to resolve the issue. The support issue has also been raised with the Instamojo plugin

    In the Instamojo plugin change the following

    Open the file – Charitable_Gateway_Instamojo.php
    and change the following line
    FROM
    $api_data[‘redirect_url’] = $return_url . “?donation_key=” . $donation_key;
    TO
    $api_data[‘redirect_url’] = $return_url . “&donation_key=” . $donation_key;

Viewing 1 replies (of 1 total)
  • The topic ‘InstaMojo Charitable custom donation receipt page error’ is closed to new replies.