Alpha 8: Cart Links API and $0 Payment Method

Posts: 14
Joined: 08/29/2007

Hey Ryan and Company,

I read in another thread that your Alpha 8 Battle Plans are coming along nicely. That's great news!

I'm just wondering if two items off the initial Alpha 8 Battle Plans list are planned to be included in the release:

1. Cart Links API (so that an item can be added to the cart via a URL link)

2. $0 Payment Method (so that "free" products can be offered without requiring credit card info)

These are the two items that I've been eagerly awaiting, so I just wanted to check in on the status. And of course I know "it will be done when it's done!"

Thanks again,
Ben

Posts: 14
Joined: 08/29/2007

Any word on whether Cart Links API and $0 Payment Method will be included in Alpha 8?

Posts: 5617
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

I'm not decided... I still don't see a really good, simple way to include a $0 payment method. I suppose I could just totally disable the payment options if the total turns out to be $0, but I only know that once the checkout page is loaded and all the line items are applied. It would take a bit of JS and some PHP checking to make sure people didn't abuse it, and I just don't have an easy way to add this in right now. I still like the idea, though.

Also, depending on how quick I nail down the other issues, I may get a rudimentary cart links API in place. This could be done by anyone in a contrib module, though.

Posts: 5617
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.
Posts: 14
Joined: 08/29/2007

Ryan,

Awesome! I just tried out your livetest link and it worked great.

It's a nice feature that you can specify the message that appears when the product is added. It also looks like the link syntax you came up with is really flexible, too. There's a lot of power in what you've done.

Can't wait to play around with it further...

Thanks a million,
Ben