close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Zero Cost Digital Download

Thread began 10/07/2010 2:35 pm by MassMedia | Last modified 5/02/2011 1:53 pm by Dan808 | 1276 views | 8 replies |

info405361

Zero Cost Digital Download

Hi All

I am using PS4 Solution and so far so good. One reason we upgraded was for the digital download feature.

My client wants to have some products for free as a downloadable file, but this fails at paypal as the value is zero.

Can paypal be skipped if the checkout is zero value, taking into account the basket may contain a payable product aswell as the free one?

I look forward to ideas.

Kinds

Sign in to reply to this post

Jason ByrnesWebAssist

on the webassist/plugins/shopping_cart/process_transaction.php page, find the following line:

php:
<?php
// if in test mode, skip all checkout code
if ($WAGLOBAL_Test_Mode != true) {
?>




and change it to:

php:
<?php
// if in test mode, skip all checkout code
if ($WA_Store_Cart->GrandTotal() == 0$WAGLOBAL_Test_Mode true;
if (
$WAGLOBAL_Test_Mode != true) {
?>
Sign in to reply to this post

info405361

Can you confirm that this would still work if the cart had a free download and a payable product? would paypal ipn still update the db and allow download of both the paid and free one?

Sign in to reply to this post

Jason ByrnesWebAssist

yes, this code is just setting the site to test mode if the cart grand total is 0. otherwise, the site is still in live mode.

Sign in to reply to this post

Dan808

PayPal: Amount must be greater than zero?

I would like to add an ebook section to the site and give away 1 ebook for free.
I came across a post by (info405361) which is pretty much exact to the issue I am having, I added the code as stated however, when I am finishing up with checkout on the Paypal page it replies with: "Please enter an amount greater than zero"

Did I miss something somewhere else?



PowerStore Version: 4.5
Site: 247sign.com
Host: GoDaddy
Payments: PayPal Standard
Site Editor: DreamWeaver CS
OS: Win7 Pro

Sign in to reply to this post

Jason ByrnesWebAssist

This will not work with PayPal Standard. Using the PayPal standard payment gateway, you will not be able to accomplish this.

Sign in to reply to this post

Dan808

Ok, so I cannot give away digital goods with PayPal Standard account...
Will it be possible to instead "SELL" digital goods with a PayPal Standard account?

Sign in to reply to this post

Jason ByrnesWebAssist

yes, you will be able to sell digital goods using Paypal Standard.

Sign in to reply to this post

Dan808

That's a relief!
I appreciate the quick response.

Thank you.

Sign in to reply to this post

massimo173451

This post has been deleted.

loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...