• Every time I update a product, the individual sales checkbox is activated. No matter how many times I try to deactivate it, it always turns back on.

    After many hours of searching, I have been able to find out where the problem is, although I don’t know the origin. In the file:
    s/modules/ppcp-paypal-subscriptions/src/PayPalSubscriptionsModule.php

    Method update_subscription_product_meta
    Line 727:
    if ( ! $product->get_sold_individually() ) {
    $product->set_sold_individually( true);
    }

    I have fixed it by changing it to false

    Now, why does this happen?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @pixefora

    The behavior you’re experiencing is actually tied to a limitation within the PayPal Subscriptions API. The reason we force the “Sold Individually” option to be enabled is that, when purchasing a subscription product, only one item can be in the cart at a time. This restriction is necessary to comply with the API’s requirements, which do not support multiple items being purchased along with a subscription.

    If your setup requires flexibility, such as handling additional charges or adjustments beyond the initial subscription price, you might want to consider using PayPal Vaulting instead. This method offers more options for managing various charges without the limitations of the “Sold Individually” restriction.

    For more information on how PayPal Vaulting works, please refer to the guide here: PayPal Vaulting Information.

    If you have further questions or need additional assistance, please let us know.

    Kind Regards,
    Krystian

    Thread Starter pixefora

    (@pixefora)

    Thanks for answering, I don’t want to use paypal for subscription product payments. I’m using Stripe, so there has to be a way to prevent paypal from changing my product settings.

    This wasn’t happening a few days ago, is it new, I don’t know if it’s due to a recent update?

    Simple products -> paypal + STRIPE Subscription products -> STRIPE

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @pixefora

    You can disable PayPal for subscription products by adjusting the plugin’s settings. Within the PayPal settings, find the Standard Payments section. Set the Subscriptions Mode to Disable for PayPal.

    The plugin will no longer interfere with your subscription products. If you continue to experience problems after making these changes, please let us know, and we’ll assist you further.

    Kind Regards,

    Krystian

    Thread Starter pixefora

    (@pixefora)

    Thx you so much, i will try!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.