Importing Data

Discussion in 'Installation' started by nytix2, Jul 29, 2003.

  1. nytix2

    nytix2 aMember Pro Customer

    Joined:
    Jul 28, 2003
    Messages:
    41
    I would like to get the Paypal transaction number brought into the "Receipt" field - but cannot see a way to do that, seems like adding that field is off limits :-(

    After importing both unexpired and expired test sales, expired sales are identified as "expired" in each record, but in the main CP Users total section they are counted as pending !
    Has anyone ever imported old sales before ? It seems wacky I know, but I would like that history to come in as we convert from another system and give those users an option to renew.

    We are seeing a long delay in the initial import analysis of just 30 records - it took about 10 mins to get to the final screen to start the real import.... Anyone else seen these kind of delays ? I hope when I scale to 10,000 records it doesnt blow me out of the water.

    NJT

    Script Version: 1.9.3RC18PRO
    Db plugin: mysql
    Protect plugins: htpasswd,php_include
    Payment plugins: paypal
  2. alex-adm

    alex-adm Guest

    It should be on place after automatic processing. Try to do the following: edit file amember/plugins/payment/paypal_r/ipn.php
    and find line :
    sleep(...);
    try to increase number of seconds.

    Click on "Rebuild Db" link - it should fix all things.

    It should not happen. If it really takes long time - email me, we will resolve this.
    However, 10,000 records is too much for import routine - split it to 2-4 parts.
  3. NJT

    NJT Guest

    Rebuild DB does the trick to get the records out of pending.
    I will break the import into pieces as you have suggested.

    Importing the Paypal transaction number is still unclear to me though, as on the import screen the field "Receipt" isnt there - not sure what "automatic processing" means as I am trying to import the data.

    NJT
  4. alex-adm

    alex-adm Guest

    Sorry, I didn't understand it first time.

    Unfortunately, it is impossible to import transaction # currently.

    If your customers have active subscription in PayPal and you want aMember to handle it, it is a problem ;( aMember can handle
    only payments which has been made via aMember signup page.
  5. nytix2

    nytix2 aMember Pro Customer

    Joined:
    Jul 28, 2003
    Messages:
    41
    The import pukes up when you hit just below 3000 records.
    The error message is :

    Fatal error: Maximum execution time of 30 seconds exceeded in /usr/local/etc/httpd/htdocs/amember/rconfig.inc.php on line 111
  6. Guest

    Guest Guest

    add line to top of import.php (after <?):
    set_time_limit(0);

Share This Page