Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP PDF Stamper

WP PDF Stamper and Paypal problems

(11 posts) (2 voices)
  • Started 4 months ago by vicpylon
  • Latest reply from admin
  • Possible Solutions (Related Topics):
    1. Paypal subscription and recurring billing problems
    2. Problems with shipping being transferred to Paypal from checkout
    3. Problems with PayPal Subscriptions
    4. Using PayPal "Block Non-encrypted Website Payment" Option
    5. eStore - Use stored address from eMember to auto-seed PayPal Pro checkout

Tags:

No tags yet.

12Next »
  1. vicpylon
    Member

    I am testing on a new website and have some issues using a Paypal hosted button. I am using the sandbox for testing. I can successfully use the IPN tester against my site with no issues. I can click on the purchase button and make a fake purchase with no issues, but wp-stamper does not generate a file. It is my understanding it should work even though I am using the paypal sandbox. Is there a log file I can look at for additional troubleshooting.

    Thank you,

    Vic

    Posted 4 months ago #
  2. admin
    Key Master

    http://www.tipsandtricks-hq.com/forum/topic/running-debug-for-plain-paypal-button-and-wp-pdf-stamper-integration

    What version of PDF Stamper are you using?

    Posted 4 months ago #
  3. vicpylon
    Member

    Hello,

    version: WP PDF Stamper Settings v4.0.9

    Here is the log output

    [01/10/2012 2:08 AM] - SUCCESS :Paypal Class Initiated by 173.0.82.126
    [01/10/2012 2:08 AM] - SUCCESS :Post string : test_ipn=1&payment_type=instant&payment_date=18%3A08%3A17+Jan+09%2C+2012+PST&payment_status=Completed&address_status=confirmed&payer_status=verified&first_name=John&last_name=Smith&payer_email=buyer%40paypalsandbox.com&payer_id=TESTBUYERID01&address_name=John+Smith&address_country=United+States&address_country_code=US&address_zip=95131&address_state=CA&address_city=San+Jose&address_street=123%2C+any+street&business=seller%40paypalsandbox.com&receiver_email=seller%40paypalsandbox.com&receiver_id=TESTSELLERID1&residence_country=US&item_name=something&item_number=AK-1234&quantity=1&shipping=3.04&tax=2.02&mc_currency=USD&mc_fee=0.44&mc_gross=12.34&mc_gross_1=9.34&txn_type=web_accept&txn_id=1711028&notify_version=2.1&custom=xyz123&charset=windows-1252&verify_sign=AFcWxV21C7fd0v3bYYYRCpSSRl31AasVdKpcZ06oqf8glGZtQ1-WEsia&
    [01/10/2012 2:08 AM] - SUCCESS :Connection to http://www.paypal.com successfuly completed.
    [01/10/2012 2:08 AM] - FAILURE :IPN validation failed.
    [01/10/2012 2:08 AM] - SUCCESS :Paypal class finished.

    Posted 4 months ago #
  4. admin
    Key Master

    You mentioned that you were testing with sandbox (meaning the purchase buttons you created is for sandbox) but you didn't tell the plugin to do sandbox validation so it is doing a live validation which is failing.

    Please make sure you have the following option set to true in the "wp-pdf-stamper/api/ipn_customization_config.php" file for sandbox testing:

    //Sandbox mode is off
    $sandbox = false;

    To test with sandbox buttons, change the above code to the following:

    $sandbox = true;
    Posted 4 months ago #
  5. vicpylon
    Member

    Hi,

    That got it mostly working, but it fails on the final stamping step.

    [01/11/2012 1:51 AM] - FAILURE :An error occured while trying to stamp the file! Error details: SetaPDF_Error Object
    [01/11/2012 1:51 AM] - FAILURE :Stamping of PDF file failed.
    [01/11/2012 1:51 AM] - SUCCESS :Paypal class finished.

    Checked file permissions and they are OK. I saw elsewhere in the forum mention of DSO php settings and absolute path settings, but not sure what the resolution is. Thoughts?

    Vic

    Posted 4 months ago #
  6. vicpylon
    Member

    Also, manual stamping works ok. FYI

    Posted 4 months ago #
  7. vicpylon
    Member

    Take that back. I did a manual stamp and got this:

    Error! SetaPDF_Error Object ( [message] => Cannot copy file /var/chroot/home/content/15/4425215/html/gratis/wp-content/uploads/2012/01/Gratis_Cloud_Space.pdf to /var/chroot/home/content/15/4425215/html/gratis/gratis/wp-content/plugins/wp-pdf-stamper/stamped-files/Gratis_Cloud_Space_4f0cec696070a.pdf [code] => 14 )

    I see the issue. The sub-dir "gratis" is being used twice, creating and illegal path for the target file. Where can I hard code this path?

    Thank you,

    Vic

    Posted 4 months ago #
  8. admin
    Key Master

    Try changing the "File PATH Conversion Method" from the general settings of the PDF Stamper. Change it to "Method 2" then test a manual stamping.

    Posted 4 months ago #
  9. vicpylon
    Member

    I made the change,but the stamping failed.

    Error! SetaPDF_Error Object ( [message] => Cannot copy file /home/content/15/4425215/html/gratis/wp-content/plugins/wp-pdf-stamper/source-files/Gratis_Cloud_Space_Guide_to_Dropbox.pdf to /home/content/15/4425215/html/gratis/gratis/wp-content/plugins/wp-pdf-stamper/stamped-files/Gratis_Cloud_Space_Guide_to_Dropbox_4f0d925d5e1fd.pdf [code] => 14 )

    Posted 4 months ago #
  10. admin
    Key Master

    I have sent you an email to get site access so I can investigate this further.

    Posted 4 months ago #

RSS feed for this topic

12Next »

Reply »

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin