Home Forums WC Vendors Free Support Fatal Error – Paypal Chained Payments

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #338
    uptimistik
    Participant

    Fatal error: Cannot redeclare class OAuthDataStore in /home/content/75/9978275/html/wp-content/plugins/wcvendors/WCVendors/classes/gateways/PayPal_AdvPayments/PayPal_AP/classes/adaptivepayments-sdk/lib/auth/PPAuth.php on line 858

    Same error I’ve been getting with Mat’s system about 3 months now…Used to work brilliantly before.

    Some help to sort this out would be appreciated.

    Regards,
    Jonathan
    Gshelper.com

    #340
    Jamie
    Keymaster

    Hi Jonathan,

    This is a plugin conflict. Do you have a twitter plugin or any other plugin that requires that you authenticate via OAuth ?

    It’s saying it can’t redeclare the class cause another plugin has already loaded a PHP class with that name.

    cheers,

    Jamie.

    #342
    uptimistik
    Participant

    No I don’t have Twitter set up, and I have deactivated all plugins with the exception of the vendor and woocommerce itself to no avail…
    any other suggestions?

    Regards,
    Jonathan
    GSHelper.com

    #353
    Jamie
    Keymaster

    Hi Jonathan,

    Are you using the paypal Mass pay feature at all?

    cheers,

    #527
    uptimistik
    Participant

    Yes I am using the feature, (although i currently disabled it because i don’t want to turn customers away)

    Please can someone take a look at the site and let me know what’s going on.

    I sent you the login details to your personal website some time ago.

    #708
    uptimistik
    Participant

    Hello? Anybody there?

    #709
    braydon_sfx
    Participant

    Any progress on this issue?

    #717
    WC Vendors Support
    Participant

    There is no progress on this to report — Remember — WC Vendors doesnt support Chained payments out of the box. Right now everyone is using hacks to use it. We’ll get there, it isnt immediate, though.

    #759
    uptimistik
    Participant

    What? Maybe I worded it wrong, but it’s the basic Split payment functionality that was advertised with the original product since its inception, where I have a vendor, and at the point of sale, the payment is sent to my account and the vendors’ automatically.

    #765
    Jamie
    Keymaster

    Hi Uptimistik

    I would have to have access to your system for me to debug this. I don’t have time until next week to look at this at the earliest. It has to be something with your configuration as I don’t get this on ANY of my test servers or production machines.

    Can you answer a few things for me

    PHP Version
    Web Server version
    Wordpress Version
    Mysql Version

    Thanks.

    #938
    uptimistik
    Participant

    I’ll send over that info you requested, but take a look at what’s happening on my site right now! I have not touched or updated anything

    #939
    WC Vendors Support
    Participant

    No space left on device (28)

    Your hard drive is full or your drive space is over quota.

    Not WC Vendors related. It’s your hosting company, silly.

    #1083
    Jeffrey
    Participant

    Hello Jamie,
    Is there anyway to track down what plugin it may be. I’ve Deactivated all plugins that are ecommerce enabled to take payments but to no avail.

    Could you just head me in the right direction and I’ll do the work.

    Thank you.

    #1088
    Jamie
    Keymaster

    Jeffery are you using chained payments AND mass pay ?

    Because this might actually be WC Vendors but will need to track down more to be sure. The way Matt implemented these 2 features was to use 2 different libraries which _may_ declare the same method which would cause this error.

    I will need more data to prove this either way.

    Did you get this error when you were using parallel payments ?

    cheers,

    #1092
    Jeffrey
    Participant

    I’m using PayPal Adaptive Payments, but the error is on a different site than the one Ben helped me out with. On that site (Shades of Beauty) everything works fine.

    My main site is giving me the error with PayPal Adaptive Payments. That site has a few more plugins and is multisite. I’m limited in deactivating plugins and functionality since I host my client sites there as well.

    I can give you Admin access and FTP access as I did Ben if necessary, but hoped I could trace down the plugin which was causing the error:

    This is a plugin conflict. Do you have a twitter plugin or any other plugin that requires that you authenticate via OAuth ?

    #1093
    Jamie
    Keymaster

    Hi Jeffery,

    I’d have to enable debugging to see what was going on with that fatal error. Which might be difficult if this is a live site.

    The idea that it might be the plugin is due to that function being in both the paypal adaptive payments and mass payments libraries. However if this was a conflict this would always be a conflict for everyone. I wonder if some plugin is using the oauth function somewhere else.

    This will be a difficult bug to track down. I’ll take a look at this in more detail tonight.

    cheers,

    #1841
    Jeffrey
    Participant

    From my side, I found the conflict was with the Pro-sites plugin by WPMUDEV. As well WCVENDORS with Pro-sites was causing (PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:)
    Hopes this helps someone….

    #1869
    WC Vendors Support
    Participant

    Come on Jeffrey, you should have known it wasnt us that caused the problem. 🙂 🙂 🙂

    #1872
    Jamie
    Keymaster

    Thanks Jeffery,

    The code that calls OAuth in WC Vendors is all defined in code libraries supplied by Paypal we don’t actually define these methods they are only referenced when authorising our connection to paypal.

    cheers,

    Jamie.

    #2221
    uptimistik
    Participant

    Well, this is interesting! The site is now functional. For everyone who may have this problem in the future, always ensure your Paypal account is reading as Verified. For some reason, my account was removed from Verified status with Paypal and it caused this error to occur! Once I reported it to Paypal and got my account re-verified, voila! WCVendors worked.

    Feel free to close off this thread/ticket.

    Regards,
    Jonathan

    Mobile Game Templates

    #2222
    WC Vendors Support
    Participant

    That’s unique! Glad you got it sorted out, and glad it wasnt a WC Vendors issue. 🙂

Viewing 21 posts - 1 through 21 (of 21 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.