Problem with Split Payments (paypal)

Home Forums Ticket Products Community Tickets Problem with Split Payments (paypal)

Viewing 15 posts - 1 through 15 (of 65 total)
  • Author
    Posts
  • #1200434
    Huiwen
    Participant

    Hi,

    My web developer and I have read all the relevant topics in this forum re. this issue and we’ve pretty much tried everything but still cannot figure out why the split payments function doesn’t work:

    “An error has occurred while processing your payment, please try again. Or contact us for assistance”

    Can anybody take a look and help us?

    Many thanks.
    Huiwen

    #1201057
    Barry
    Member

    Hi there Huiwen,

    I’m sorry to hear you’ve hit up against difficulties. A few questions/thoughts:

    • Did you do any sandbox-based testing and did you have positive results at that stage?
    • Can you confirm that you are indeed using a Rest API App (in terms of what you registered with PayPal)? We’ve found in the past that people have sometimes registered for other types of account and that can lead to problems like this
    • Is WooCommerce’s own PayPal gateway also enabled?

    Thanks!

    #1201155
    Huiwen
    Participant

    Hi Barry,

    Thanks for trying to help.

    To your questions:

    1- No it doesn’t work either with Sandbox or Live.
    2- Yes I am using REST API App with Paypal Developer.
    3- We are only using Event Calendar and Event Calendar Pro; we don’t use WooCommerce. Is it still relevant then?

    #1201806
    Barry
    Member

    Hi Huiwen,

    Community Tickets actually requires WooCommerce to be activated – along with Event Tickets Plus, Event Tickets, The Events Calendar and Community Events.

    theeventscalendar.com/knowledgebase/new-user-primer-community-tickets

    In the case of WooCommerce, the reason for this requirement is that our payment adapter (which facilitates split payments) works by building on top of facilities provided by WooCommerce itself. Without WooCommerce and the other plugins I listed Community Tickets simply won’t work as expected.

    So, right now, you would need to follow the instructions in the New User Primer linked to above and meet all of the requirements detailed there.

    I hope that helps!

    #1201923
    Huiwen
    Participant

    Many thanks Barry for your response.

    My apologise but we do have WooCommerce plugin installed and enabled. In addition to that, we also have community tickets, community events, event calendar, event calendar pro, event tickets, event tickets plus, all installed and enabled. But the split payment still doesn’t work.

    #1201980
    Barry
    Member

    Thanks for clarifying. In that case, I’d love some more information:

    • How are split payments configured in terms of the type and size of fee? (Please refer to the settings in Events → Settings → Community → Community Tickets → Per-Ticket Fee Type for this)
    • Are you positive that the community organizers had registered valid email addresses that were linked to their PayPal accounts? (They typically would do this via example.com/events/community/payment-options)
    • After problems like you described occur, are any error messages being recorded within WooCommerce → System Status → Logs and could you share them if so?
    • Additionally, it may be useful if you could share your System Information (which can be found in the Events → Help screen – please remember to mark your reply as ‘private’ to prevent others from seeing this information)

    Thanks for your patience while we look into this 🙂

    #1202148
    Huiwen
    Participant

    This reply is private.

    #1202185
    Barry
    Member

    Thanks!

    Could you additionally share the system information provided by The Events Calendar, as described in the following knowledgebase article?

    theeventscalendar.com/knowledgebase/sharing-sys-info

    (The information you shared in your last reply appears to be debug information provided by WooCommerce.)

    #1202192
    Huiwen
    Participant

    This reply is private.

    #1202757
    Barry
    Member

    Thanks for your patience so far, Huiwen.

    I also owe you an apology: on asking you to check the WooCommerce error logs I had missed a key step, so let’s try that again.

    • We need to add a small snippet of code to enable debugging
    • This can be done by creating a small, standalone plugin (or a ‘must use’ plugin) or else you could add it to your theme’s functions.php file – let me know if you need further assistance on that count
    • The snippet itself is just one line of PHP code (note the double underscore in __return_true):
    add_filter( 'tribe_community_tickets_woocommerce_paypal_debug', '__return_true' );

    With that in place, please go ahead and try things out again. I’m going to assume you will receive the same result, but this time if you visit WooCommerce → System Status → Logs you will hopefully be able to retrieve some useful data:

    • You should see a dropdown in the top right hand side of the screen
    • Select the most recent log file with a name that begins with tribe-paypal-adaptive-payments-…
    • Click view

    This will hopefully provide more insights into the specific problem you are facing – please copy and paste what you find and share it here (by private reply, please).

    Thanks again!

    #1202810
    Huiwen
    Participant

    This reply is private.

    #1202816
    Huiwen
    Participant

    This reply is private.

    #1202931
    Barry
    Member

    Hi Huiwen,

    I’d be happy to help further 🙂

    A typical WordPress installation has a wp-content directory. Within this, create (or ask your developer to create) a mu-plugins directory – unless of course it already exists. Within that, add a new file called customizations.php with the following code:

    <?php
    add_filter( 'tribe_community_tickets_woocommerce_paypal_debug', '__return_true' );
    

    To reiterate, this should live at wp-content/mu-plugins/customizations.php and with this in place debugging (of adaptive/split payments) will be enabled – you should then be able to re-test and collect debug data from there.

    I hope that helps!

    #1203350
    Huiwen
    Participant

    This reply is private.

    #1203404
    Barry
    Member

    Great! In that case, can you share the contents of the debug log?

    To re-cap, you should now find you can select the adaptive payments log using a dropdown in the top right corner of the WooCommerce → System Status → Logs screen, looking something like this:

    adaptive-payments-log-selection

    If you click view you will hopefully see quite a bit of logged data – please feel free to copy and paste that in its entirety into your next reply (or upload it to Dropbox or a similar service and provide a link).

    adaptive-payments-log-sample

    The above shows what the adaptive payments log data may look like (and that particular example shows an error indicating that PayPal credentials haven’t been set up correctly – though that’s not necessarily going to be the same in your case – but is the sort of thing we’re looking for).

    Thanks!

Viewing 15 posts - 1 through 15 (of 65 total)
  • The topic ‘Problem with Split Payments (paypal)’ is closed to new replies.