I need to show Paypal products based on date

  • Profile Image
    Asked on May 03, 2017 at 11:58 AM

    I'm having trouble using conditional logic on 'My Products' for PayPal. I need to show a specific product based on the date. In other words, Training A is X amount before X date, and Y amount after.

    But it seems I can only choose to show/hide the entire My Products module. Is there any way to get around this?

    Any help is appreciated. Thanks!

  • Profile Image
    Answered on May 03, 2017 at 01:54 PM

    Unfortunately, the condition only works in the payment field as a whole. It means that you cannot apply a condition on each product.

    I suggest you create your products outside the payment field. In this way, you can apply a condition on each product that has a respective form field.

    You can create a "total" field using the Form Calculation widget. Here's a guide: How-to-perform-calculation-in-the-form.

    After that, you can pass the total value to the payment field. Here's a guide: How-to-Pass-a-Calculation-to-a-Payment-Field.

    Hope that helps. If you have any questions, let us know. Thank you.


  • Profile Image
    Answered on May 04, 2017 at 12:14 AM

    Thanks! That worked perfectly.