Change payment processor when order value is > X

Discussion in 'Payments processing' started by stevenjohn, Apr 5, 2013.

  1. stevenjohn

    stevenjohn Member

    Joined:
    Nov 9, 2006
    Messages:
    40
    Hi there,

    We are running Paypal Pro on our system, and all is fine with taking cards within the site. We dont give payment options, users have to use their cards with paypal processing it in the background - all is good.

    The issue is that paypal have processing limit of £5,500 in the UK. In the optimistic hope we sometime get an order exceeding that value i want to add logic to the cart that says:

    If order < £5,499 then use paypalpro, ELSE take manual payment

    Anyone got anyone got ideas on how to do this?

    Many thanks, Steve
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    This is possible as customization.
    You need a custom paysystem brick which will check current sales amount and show paysystem depends on results.
    You can find existing one in /amember/library/Am/From/Brick.php
  3. stevenjohn

    stevenjohn Member

    Joined:
    Nov 9, 2006
    Messages:
    40
    Hi Alex,

    So to understand logic more fully.

    Current model: user hits our checkout button, this currently then takes them to Paypal Pro checkout page to fill in details > paypal > done

    New model: users hits our checkout button, depending on total amount they are then taken to paypal checkout page, OR manual payment process page

    Can you give any insights into how you'd add this to the brick please?

    Perhaps I should ask to get this done as paid custom work?

    Kind regards, Steve
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Steve,
    Not exactly correct.
    What I suggest is to modify current paysystem brick which you see on signup page. If there are more sales then allowed, it should not display paypal option.
    Sure we can do this as customization, contact us in helpdesk.

Share This Page