Developer forum

Forum » Ecommerce - Standard features » Recurring Orders with wrong token - how to?

Recurring Orders with wrong token - how to?

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

We're having an issue with Recurring Orders (subscription based system).

 

The recurrency was placed months ago, and everything worked fine until "now". The CreditCard token in now invalid, so that is generating an incomplete order. How are we supposed to get notified/move past this point?

  • The order state is the default - could we set a specific order state in these situations so we could also trigger an email?
  • Is there anything we can do to capture these scenarios?
    (and in the meanwhile how could this be workaround for the customer)

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Pedersen
Reply

You can listen to AfterRecurringOrderPlaced and take a look at teh order.complete. You also get a recurringorder object back that has HasError() that will be true and you can then use GetEvents() to see what was wrong and send out that information.

Currently we do not store the expiration date for cards and cannot send out something to renew the cards - all card (or payment information) is in the checkouthandler.

So no solution except the above to this issue.

BR Nicolai

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nicolai,

 

Perfect, thanks. This will do for now

 

Nuno

 

You must be logged in to post in the forum