Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author mangopay

    (@mangopay)

    Hello @lulf, customer/buyer Mangopay accounts should be created on the fly when they do a payment, however this isn’t the case for vendors – I assume you’re therefore talking about vendors? If so, there is no way of bulk creating vendors at this time I’m afraid :-/

    Thread Starter lulf

    (@lulf)

    Hi !

    Many thanks for your answer !
    Unfortunately I still have a problem.
    Indeed I have randomly an error message on the checkout page when I submit the form (the problem never happen if the user/customer has already a MangoPay Account/Wallet). I have the following error :

    Payment error:Could not create the MANGOPAY payment URL
    Could not create the MANGOPAY payment URL

    So it come from gateway.inc.php and especially from this part :
    $redirect_url = mpAccess::getInstance()->card_payin_url( $order_id, $wp_user_id,($order->order_total * 100),$order->order_currency,0,$return_url,$locale,$mp_card_type);

    I have this error in my console :
    <div class="error"><p>Error: MANGOPAY API returned: «Cannot put token to file»</p></div>
    and this error in my Error Log :

    PHP Warning: error_log(/nas/content/live/chnew/wp-content/uploads/mp_tmp/sandbox/mp-transactions.log.php): failed to open stream: Permission denied in /nas/content/live/website/wp-content/plugins/mangopay-woocommerce/inc/mangopay.inc.php on line 679, referer: http://website.com/checkout

    I have seen this post : https://github.com/MangoPay/mangopay2-php-sdk/issues/45

    So it seems to be a permission problem. My file has the 664 permission and I can’t change it due to my server provider (WPEngine).
    What’s weird is that I have not this error everytime, it’s totally random so I don’t know if the problem comes from your plugin or if it comes from my server provider.

    If you have any idea, I’m more than interested !
    Thanks !

    All the error in my Error Log :

    [Thu Aug 18 13:38:13.332046 2016] [:error] [pid 31102] [client 212.238.212.216:47012] PHP Warning: in_array() expects parameter 2 to be array, string given in /nas/content/live/website/wp-content/plugins/mangopay-woocommerce/inc/mangopay.inc.php on line 269, referer: http://website.com/checkout/
    [Thu Aug 18 13:38:13.475538 2016] [:error] [pid 31102] [client 212.238.212.216:47012] PHP Warning: _wpe_old_file_put_contents(/nas/content/live/website/wp-content/uploads/mp_tmp/sandbox//MangoPaySdkStorage.tmp.php): failed to open stream: Permission denied in /opt/nas/www/common/production/php_prevent_flock.php on line 58, referer: http://website.com/checkout/
    [Thu Aug 18 13:38:13.476411 2016] [:error] [pid 31102] [client 212.238.212.216:47012] PHP Warning: error_log(/nas/content/live/website/wp-content/uploads/mp_tmp/sandbox/mp-transactions.log.php): failed to open stream: Permission denied in /nas/content/live/website/wp-content/plugins/mangopay-woocommerce/inc/mangopay.inc.php on line 679, referer: http://website.com/checkout/
    [Thu Aug 18 13:38:13.477576 2016] [:error] [pid 31102] [client 212.238.212.216:47012] PHP Warning: in_array() expects parameter 2 to be array, string given in /nas/content/live/website/wp-content/plugins/mangopay-woocommerce/inc/mangopay.inc.php on line 269, referer: http://website.com/checkout/
    [Thu Aug 18 13:38:13.699633 2016] [:error] [pid 31102] [client 212.238.212.216:47012] PHP Warning: _wpe_old_file_put_contents(/nas/content/live/website/wp-content/uploads/mp_tmp/sandbox//MangoPaySdkStorage.tmp.php): failed to open stream: Permission denied in /opt/nas/www/common/production/php_prevent_flock.php on line 58, referer: http://website.com/checkout/
    [Thu Aug 18 13:38:13.700203 2016] [:error] [pid 31102] [client 212.238.212.216:47012] PHP Warning: error_log(/nas/content/live/website/wp-content/uploads/mp_tmp/sandbox/mp-transactions.log.php): failed to open stream: Permission denied in /nas/content/live/website/wp-content/plugins/mangopay-woocommerce/inc/mangopay.inc.php on line 679, referer: http://website.com/checkout/
    [Thu Aug 18 13:38:13.802027 2016] [:error] [pid 31102] [client 212.238.212.216:47012] PHP Warning: in_array() expects parameter 2 to be array, string given in /nas/content/live/website/wp-content/plugins/mangopay-woocommerce/inc/mangopay.inc.php on line 269, referer: http://website.com/checkout/
    [Thu Aug 18 13:38:13.936870 2016] [:error] [pid 31102] [client 212.238.212.216:47012] PHP Warning: _wpe_old_file_put_contents(/nas/content/live/website/wp-content/uploads/mp_tmp/sandbox//MangoPaySdkStorage.tmp.php): failed to open stream: Permission denied in /opt/nas/www/common/production/php_prevent_flock.php on line 58, referer: http://website.com/checkout/
    [Thu Aug 18 13:38:13.937240 2016] [:error] [pid 31102] [client 212.238.212.216:47012] PHP Warning: error_log(/nas/content/live/website/wp-content/uploads/mp_tmp/sandbox/mp-transactions.log.php): failed to open stream: Permission denied in /nas/content/live/website/wp-content/plugins/mangopay-woocommerce/inc/mangopay.inc.php on line 679, referer: http://website.com/checkout/
    [Thu Aug 18 13:38:13.937547 2016] [:error] [pid 31102] [client 212.238.212.216:47012] PHP Warning: Invalid argument supplied for foreach() in /nas/content/live/website/wp-content/plugins/mangopay-woocommerce/inc/mangopay.inc.php on line 972, referer: http://website.com/checkout/

    Plugin Author mangopay

    (@mangopay)

    Hmm, when you look at the plugin page, are all the status checks OK? It’s at yoursite.com/wp-admin/admin.php?page=mangopay_settings

    Thread Starter lulf

    (@lulf)

    No, I have still this :

    All active vendors have a MANGOPAY account: Failure 🙁

    But I always made the test with the same product which is sold by a vendor who have a MangoPay account so I really don’t believe it comes from there.

    Plugin Author mangopay

    (@mangopay)

    Hmm, I think we need to take a closer look to resolve this for you – could you email support@mangopay.com, and ideally create a temporary account for us to go in and check a couple of things out?

    Thread Starter lulf

    (@lulf)

    Hi,
    I have just send you an email !
    Thanks for your support !

    Any update on this one?

    Plugin Author mangopay

    (@mangopay)

    Hey @dannykater – this problem was very specific to @lulf, could you create a new thread detailing exactly what problem you’re experiencing etc. Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Automatic Account Activation’ is closed to new replies.