You have no items in your shopping cart.

Wednesday, December 11, 2019 3:08:39 AM

Using reward points (perhaps a bug)

Avatar

Posted: 3 years ago

#2947 Quote

martin2

Posted: 3 years ago

#2947 Quote
Hello,

We're using SimpleCheckout v5.04 but have problems (perhaps a bug) when using reward points.

When using discount or gift cards and the order total gets to 0 the selected payment's payment info is still shown (e.g. paypal or Klarna). However, when using reward points the the order total gets to 0, then "IsPaymentWorkflowRequired" in the plugin returns false and empty content is returned.

In SimpleCheckout, why does IsPaymentWorkflowRequired return true if a discount or giftcards makes order total 0, but return false if rewardpoints makes order total 0?

The second parameter sent to IsPaymentWorkflowRequired is if ignoreRewardPoints should be used, but it is always false. Would it be possible to make that value an optional parameter we can send to AjaxPaymentInfo? That would probably solve our problem. Then we could tell IsPaymentWorkflowRequired to ignore reward points, the sum would not be Decimal.Zero and the method would return true.

Would you be able to send us a updated version with that option? That would be greatly appreciated!

PS. We used ILSpy to disassemble parts of the plugin to figure out what caused our problem. DS.

Best regards,
Martin
Avatar

Posted: 3 years ago

#2948 Quote

Support

Posted: 3 years ago

#2948 Quote
Plugin must show all payment methods on customer's screen (checkout page), because the customer can remove/add/change discount or gift code...
But I removed the redirect to payment site when the order total = 0
Thank you. It was a bug.
Download new version from our site.

Posted: 2 years ago

#6620 Quote
Your web-site is so cool. I’m impressed by the details that you have on this web site. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for more articles. I just like the valuable info you provide for your articles.Custom essay writing service will give you opportunity to spend more free time with friends.

Powered by nopCommerce

Copyright © 2019 FoxNetSoft. All rights reserved