Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Error on mass pay submit

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Troubleshooting › Error on mass pay submit

Tagged: can't open file, generate payment report file, pay affiliates, paypal mass pay

  • This topic has 8 replies, 5 voices, and was last updated 12 years, 11 months ago by admin.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • May 22, 2011 at 12:57 pm #3454
    jazbo
    Member

    When I click on step two to create a mass pay file, I get:

    Warning: fopen(paypal_mass_pay.txt) [function.fopen]: failed to open stream: Permission denied in /wp-content/plugins/wp-affiliate-platform/payouts_menu.php on line 381

    can’t open file

    Please can you advise on fixing this.

    May 22, 2011 at 11:52 pm #32798
    amin007
    Participant

    Permission issue on your server. It’s not letting the plugin create the mass pay file.

    Create the following two files inside the “wp-affiliate-platform” folder if they don’t exist and give these files “777” permission then try step 2 again.

    paypal_mass_pay.txt
    affiliate_payout_report.csv

    If the above two files already exists then just change the permission to “777”.

    June 21, 2011 at 1:27 pm #32799
    jazbo
    Member

    Thank you! Everything working fine after the change.

    June 27, 2012 at 5:57 am #32800
    cgparkhouse
    Member

    I followed the details above and created the paypal_mass_pay.txt file uploaded it to both directories suggested and changed the permissions to 777.

    The paypal_mass_pay.txt file in /wp-affiliate-platform/ does get written to when I click the ‘Create payment Report File’ button, however I then get a ‘can’t open file’ message.

    What I was expecting to happen was either:

    1. The PayPal API instigated to do the Mass Pay automatically

    2. Get a file to download, so that I could do a manual upload to PayPal

    I would prefer option 1.

    What is meant to happen when I get the ‘can’t open file’ message?

    June 27, 2012 at 10:47 pm #32801
    admin
    Keymaster

    What version of the plugin are you using? Does the “paypal_mass_pay.txt” file get created at all?

    It is suppose to create the mass pay file which you can download to your computer (by right clicking on the file link). It will also create a CSV file with payout reports too. You take these files and make the payout using whatever means is easy for you (PayPal masspay, paypal send money, bank transfer, bank check etc.).

    June 28, 2012 at 4:00 am #32802
    cgparkhouse
    Member

    I’m using Version v5.1.9 of the WP Affiliate Platform plugin. paypal_mass_pay.txt did not get created automatically in the /wp-affiliate-platform/ directory. I had to create the blank file first and give it permission 777. Then that file got written to when I clicked on the ‘Create payment report file’ button. Then the following page at this url [http://better-life.me/wp-admin/admin.php?page=manage_payouts] displays:

    WP Affiliate Platform – Manage Payouts

    can’t open file

    No link to the file shows.

    I can download the file via ftp, but I want the finance guy to be able to use the WP Affiliate Program browser interface – because he is not very computer literate.

    What is the name of the CSV file – maybe I need to create that manually too and give 777 permissions for the script to execute successfully?

    PS Do you have plans to integrate with the PayPal mass pay API, to automate the process?

    June 28, 2012 at 10:33 pm #32803
    admin
    Keymaster

    The name of the CSV file is “affiliate_payout_report.csv”. After you created the mass pay file it should have written the report in it. I sent you an email to get access to the site so I can check it out. Yes, I have plans to have an automatic PayPal payment option there.


    Update Turned out the “affiliate_payout_report.csv” file was missing which needed to be created on this server (the plugins tries to create it but this server was preventing that from happening).

    July 5, 2012 at 7:58 pm #32804
    EricaMueller
    Member

    I’m having the same issue. The file is created and written to, but I get the Can’t Open File error.

    July 6, 2012 at 5:52 am #32805
    admin
    Keymaster

    I am pretty sure its missing the other CSV file (affiliate_payout_report.csv) that is also writes to.

    Please post a link to your site and verify for me that you created the following two files with “777” file permission:

    http://www.your-domain.com/wp-content/plugins/wp-affiliate-platform/paypal_mass_pay.txt
    and
    http://www.your-domain.com/wp-content/plugins/wp-affiliate-platform/affiliate_payout_report.csv

    Some servers require that the file exists first before it can be written to (most servers allow you to just create that file on the fly but that doesn’t seem to be case in your situation).

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ