Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Can't checkout with $0.00 (after using promotion coupon)

$
0
0
Hi Tim,

I agree it would be best if NB_Store could deal with the zero amount. The checkout module is up for a re-write and I'll add this is the specs. But that doesn't help your situation now. I'm reluctant to introduce code for the checkout in v2.4 because we've closed the functionality requirments and are concentrating on but fixes and tidy up, so it will be to wait for v2.5....which should be the re-write of the checkout anyway! But the time sclaes for that can probably be counted in months not weeks.


I think for a quick solution you'll need to check the gateway.. Off the top of my head...

http://nbstorepxpay.codeplex.com/SourceControl/latest#GatewayPxPay.vb

The function : SetBankRemotePost

Has a section of code
                            ' Redirect user to payment page 
                            Dim objCInfo As NB_Store_CartInfo = CurrentCart.GetCurrentCart(PortalID)
                            objCInfo.BankHtmlRedirect = RPost.GetPostHtml(LoadingImg)
                            objCInfo.DateCreated = DateAdd(DateInterval.Minute, 5, Now)
                            CurrentCart.Save(objCInfo)
This could be changed to detect the zero amount and then the BankHtmlRedirect could be redirected directly to the stg 5 of the cart with the required params for a successful transaction.

Dave.

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>