Search found 27 matches

by mezojeff
Wed Apr 14, 2010 11:03 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: pro-rate subscription to the end of the month
Replies: 2
Views: 2403

Re: pro-rate subscription to the end of the month

I should probably provide a little more detail. I've figured out how to calculate it in the payment provider class I've created in the DoAuthorizeRecurring method. double proratedAmount(string Amount) { double pricing = Convert.ToDouble(Amount); DateTime nextDate = Convert.ToDateTime(DateTime.Now.Ad...
by mezojeff
Wed Apr 14, 2010 10:29 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: pro-rate subscription to the end of the month
Replies: 2
Views: 2403

pro-rate subscription to the end of the month

Is there a way to do this through the interface, or would this be custom code? I'm trying to wrap my head around how to do this.
by mezojeff
Tue Apr 13, 2010 9:43 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: stop purchase if subscription exists
Replies: 1
Views: 1852

stop purchase if subscription exists

What would be the best way to do this? We'd like to give the user a warning if they are attempting to purchase a subscription that they are already subscribed to. Thanks!
by mezojeff
Wed Feb 24, 2010 10:47 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Cancel - subscription orders: Yellow screen of death
Replies: 7
Views: 5414

Re: Cancel - subscription orders: Yellow screen of death

hmm if that is true then that is odd. I was under the the impression that when you cancelled a non-subscription order that the dovoid or dorefund events were fired in commercebuilder.payments.providers.paymentproviderbase. I haven't actually tested that yet, but why else would they be in there? As f...
by mezojeff
Tue Feb 23, 2010 9:09 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Cancel - subscription orders: Yellow screen of death
Replies: 7
Views: 5414

Re: Cancel - subscription orders: Yellow screen of death

Thanks jmestep, I have set several breakpoints and stepped through in debug. this is how I determined that there's no gateway event being fired when cancelling a subscription through the admin. The gateway that I created (custom code) works fine. My problem is not in there, my issue is really how to...
by mezojeff
Mon Feb 22, 2010 6:36 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Cancel - subscription orders: Yellow screen of death
Replies: 7
Views: 5414

Re: Cancel - subscription orders: Yellow screen of death

Is there another avenue besides the forums I should take? I've had this post up for over a week and have been pinging with our sales rep (Fred) to see if he could help us get an answer on this. It's been very frustrating since I was initially told (before we purchased our license) that normally you ...
by mezojeff
Mon Feb 22, 2010 8:52 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Cancel - subscription orders: Yellow screen of death
Replies: 7
Views: 5414

Re: Cancel - subscription orders: Yellow screen of death

I know "bumping" is frowned upon, but I'd really like to get some guidance on this. Anyone? The error that happens when canceling an order created as a subscription has been officially entered as a bug http://bugs.ablecommerce.com/show_bug.cgi?id=8736 . For now there's a workaround that you have to ...
by mezojeff
Mon Feb 15, 2010 10:09 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Cancel - subscription orders: Yellow screen of death
Replies: 7
Views: 5414

Re: Cancel - subscription orders: Yellow screen of death

Update: I found another overridable method in the library I created for the braintree gateway called CancelAuthorizeRecurring I have implemented this, but it is not getting called when I cancel a subscription from an order. The order is still erroring out when I try to cancel the whole order. What I...
by mezojeff
Mon Feb 15, 2010 8:45 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Cancel - subscription orders: Yellow screen of death
Replies: 7
Views: 5414

Cancel - subscription orders: Yellow screen of death

See below for the error - we need to be able to cancel subscription orders. I've put the code inside of the dovoid and do refund methods of our payments gateway implementation. Am I to understand there is no way to cancel subscription/recurring types? If so this is kind of a big deal since our whole...
by mezojeff
Fri Feb 12, 2010 11:38 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Straight Capture (Do we need doauthorize?)
Replies: 16
Views: 17822

Re: Straight Capture (Do we need doauthorize?)

right... but what isn't discussed in that wiki article is what methods are touched for each type of transaction. Trust me I read through that article about a dozen times while going through the process of setting up this custom gateway for Braintree. It was very helpful, but could have been more so....
by mezojeff
Fri Feb 12, 2010 11:08 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Straight Capture (Do we need doauthorize?)
Replies: 16
Views: 17822

Re: Straight Capture (Do we need doauthorize?)

Okay, finally figured this out (on my own). and I'm posting it here for the benefit of future users. If you have recurring billing set as a supported transaction for your gateway, when a person purchases a subscription item it does all of the work inside of this method. DoAuthorizeRecurring It does ...
by mezojeff
Fri Feb 12, 2010 8:27 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Straight Capture (Do we need doauthorize?)
Replies: 16
Views: 17822

Re: Straight Capture (Do we need doauthorize?)

Still at the same spot as yesterday. I'll break down my inquiry into simpler terms. On subscription items, with recurring billing set as an option on the gateway, what methods are fired when AuthorizeAndCapture are set to true. I know that DoAuthorizeRecurring is called first, where I'm stuck is do ...
by mezojeff
Thu Feb 11, 2010 9:56 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Straight Capture (Do we need doauthorize?)
Replies: 16
Views: 17822

Re: Straight Capture (Do we need doauthorize?)

I've played with this for a little while longer this morning. I have a question, I've deduced that the DoAuthorizeRecurring gets called first for subscription items. I've also realized that I do not need to run the doauthorize and docapture inside of that method. Does anything get called upon succes...
by mezojeff
Wed Feb 10, 2010 6:30 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Straight Capture (Do we need doauthorize?)
Replies: 16
Views: 17822

Re: Straight Capture (Do we need doauthorize?)

after further experimentation I see that ablecommerce automatically goes straight to the DoAuthorizeRecurring method when purchasing a subscription item... So, I will most likely need to run the doauthorize and docapture events inside of that method, then append the extra code to setup a recurring b...
by mezojeff
Wed Feb 10, 2010 12:20 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Straight Capture (Do we need doauthorize?)
Replies: 16
Views: 17822

Re: Straight Capture (Do we need doauthorize?)

this is from the gateway debug, the top is an attempt to purchase a subscription item, the bottom two is just buying a normal non-subscription product. Send: <?xml version="1.0" encoding="utf-8"?><ARBCreateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><merchantAuthentication><n...
by mezojeff
Wed Feb 10, 2010 12:16 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Straight Capture (Do we need doauthorize?)
Replies: 16
Views: 17822

Re: Straight Capture (Do we need doauthorize?)

your memory is fine on braintree. As I posted above I can get it to do a authorize and capture fine on regular products. However those methods get fired when buying subscription product. That's where my problem now lies.
by mezojeff
Tue Feb 09, 2010 10:02 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Straight Capture (Do we need doauthorize?)
Replies: 16
Views: 17822

Re: Straight Capture (Do we need doauthorize?)

Okay, I just did a test with a non-subscription item and it worked like a charm... Now I'm convinced that it's the subscription items. Can someone please give me some help with how the gateway implementation handles subscriptions? Thanks!
by mezojeff
Tue Feb 09, 2010 9:56 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Straight Capture (Do we need doauthorize?)
Replies: 16
Views: 17822

Re: Straight Capture (Do we need doauthorize?)

Okay, so I have my custom gateway implemented and I'm trying to do a test purchase on a subscription item... I've adjusted doauthorize and docapture to use this information. Nothing is happening, transactions are not pending. I put some debugging that writes to a text file at the beginning of docapt...
by mezojeff
Tue Feb 02, 2010 1:53 pm
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Straight Capture (Do we need doauthorize?)
Replies: 16
Views: 17822

Re: Straight Capture (Do we need doauthorize?)

so if i get what you're saying, it does not run the doauthorizereccuring method on subscription items automatically. That would have to be done within docapture?
by mezojeff
Tue Feb 02, 2010 11:53 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Straight Capture (Do we need doauthorize?)
Replies: 16
Views: 17822

Re: Straight Capture (Do we need doauthorize?)

anyone on the recurring billing question?
by mezojeff
Fri Jan 29, 2010 8:06 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Straight Capture (Do we need doauthorize?)
Replies: 16
Views: 17822

Re: Straight Capture (Do we need doauthorize?)

Hi mazhar, thank you for the reply. So in the doauthorize and docapture methods is it performing two seperate calls to the gateway? Or if authorize and capture is enabled is it merely building he authorization part of the direct post, then passing it along to the docapture method? Also on the recurr...
by mezojeff
Thu Jan 28, 2010 10:55 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Straight Capture (Do we need doauthorize?)
Replies: 16
Views: 17822

Straight Capture (Do we need doauthorize?)

Hello, I'm trying to implement a gateway for Braintree Payment Solutions. There API is very simple in that it has you simply pass a direct post the server that includes your username and pass as the parameters. In a test transaction I would simply pass this to the gateway username=demoapi&password=p...
by mezojeff
Fri Jan 15, 2010 9:47 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Connect to web service after successful checkout
Replies: 2
Views: 2405

Re: Connect to web service after successful checkout

awesome, thanks for the prompt reply! I will try this out and see if it works now.
by mezojeff
Fri Jan 15, 2010 9:19 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: Connect to web service after successful checkout
Replies: 2
Views: 2405

Connect to web service after successful checkout

Hello, I'm trying to figure out the best way to provision a user account through an API on a remote site once the user's purchase has been successful for a certain SKU (it's a subscription to a backup service). In a perfect world it would look something like this? //purchase is successful //loop thr...
by mezojeff
Mon Jan 11, 2010 5:58 am
Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
Topic: unsupported gateways, recurring billing, and customer vaults
Replies: 3
Views: 2937

Re: unsupported gateways, recurring billing, and customer vaults

thank you! I will look at this and try to implement today.