Cannot get to payment when using a gift certificate


  • Default avatar
    daniel11    
     a year ago
    0

    Hi,

    As soon as we type in a gift certificate code in VirtueMart OPC and use the payment method Payson (just as Paypal with an external payment site) and press confirm we return to the check out. The experiance is that it loads for a while and then nothing happens.
    When we try another type of payment method like prepaid/proforma the order goes through.

    We have contacted Payson and awaits answer but does anyone have experienced something similar and an idea what is going on? We have activated gift certificate in the config area.

    /dB
  • Your avatar
    seyi    
     a year ago
    0

    Hello,

    So it works for prepaid, but does not work for payson/paypal?

    Maybe it is this problem:
    http://forum.virtuemart.net/index.php?topic=120972

    In which case, in awocoupon->configuration, set 'Order state to trigger coupon processing' to all of your confirmed states, but not 'order created'.
  • Default avatar
    daniel11    
     a year ago
    0

    Hello Seyi,

    Thank you for the reply.

    We already have tried with that. In this case it creates an order in the database as P, and doesn't use the coupon. It then returns to the cart page with information filled out, product in the cart and the coupon still applied. Nothing is written in the Payson order database and the customer is not sent to payson as they should be.

    Is there something in the payment plugin that can cause this?

    Would you be able to take a quick look through their code and see if anything sticks out to you?
    https://github.com/PaysonAB/module-payson-virtuemart-3/blob/master/paysondirect/paysondirect.php
  • Your avatar
    seyi    
     a year ago
    0

    Hello,

    So is this only happening with payson? Or it happens with paypal also?
  • Default avatar
    daniel11    
     a year ago
    0

    PayPal works. It is only Payson that does not work.
  • Your avatar
    seyi    
     a year ago
    0

    Hello,

    I did look at the code but could not see anything out of the ordinary. It is really easy to miss something though. It is much easier to debug directly.

    Have you tried disabling virtuemartopc to see if it works?

    Have you tried disabling awocoupon and using a virtuemart coupon to see if it works?