Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Built-in Shipping and Payment Modules / ZC Free Charge card Mod

ZC Free Charge card Mod

Locked

Started by lackew on 4 Nov 2009, 2:49 PM · Views: 2,752

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
4 Nov 2009, 2:49 PM
#1
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

ZC Free Charge card Mod

I have free downloads and installed ZC Free Charge card mod but customer cannot access download file from order confirmation page. This is being displayed instead ```html
NOTE: Downloads are not available until payment has been confirmed


In customer account it says payment is pending.  This happened after disabling offline processing (credit card)????  When this was enabled it produced the error: ```html
not accepting payments from your region at this time.  
```However the download was accessible at checkout dispite the warning!
P.S. orders are accepted for the US only!

Any ideas to fix??????????

blessed be the day we make tomorrow a better yesterday

4 Nov 2009, 3:15 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: ZC Free Charge card Mod

In Admin->Modules->Payment, what is the "Order Status" you've set for the Free Charge Card module?
If you've not got it set to Processing then the download won't activate until you manually update the order itself to the appropriate status.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Nov 2009, 3:59 PM
#3
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: ZC Free Charge card Mod

when installed it was set to "Default" it is now disabled -
Does it need to be installed when the site goes Live? I thought this was a testing mod like offline processing.

blessed be the day we make tomorrow a better yesterday

4 Nov 2009, 4:10 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: ZC Free Charge card Mod

Free Charge is used specifically to allow checkout when the total order amount is 0.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Nov 2009, 4:19 PM
#5
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: ZC Free Charge card Mod

When set to Processing, Delivered or Updated gets same results :frusty:
have it disabled again.

blessed be the day we make tomorrow a better yesterday

4 Nov 2009, 4:30 PM
#6
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: ZC Free Charge card Mod

Well Sensei it appears I have a problem then. Can you lead me in the right direction since it has to be enabled?

blessed be the day we make tomorrow a better yesterday

4 Nov 2009, 4:39 PM
#7
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: ZC Free Charge card Mod

Ok in Admin/Orders they all state "Pending" for every order tested for Default, Processing, Delivered or Updated.
Can this be a result of adding my own payment (Bluepay)gateway?

blessed be the day we make tomorrow a better yesterday

4 Nov 2009, 5:36 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: ZC Free Charge card Mod

What happens when you update your "pending" order to "Processing" or "Delivered"? Downloads should be activated in that order when you do that.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Nov 2009, 6:02 PM
#9
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: ZC Free Charge card Mod

DrByte:

What happens when you update your "pending" order to "Processing" or "Delivered"? Downloads should be activated in that order when you do that.

they show as Processing for processing but it releases the downloads for when changed to Deilvered.
Was hoping to have the download available at check out instead of the customer leaving & have to return to download.
Not to mention save time without having to change each order manually in admin

blessed be the day we make tomorrow a better yesterday

4 Nov 2009, 6:09 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: ZC Free Charge card Mod

Right, and that's exactly how it works by default.

Requires:

  • free charge module with Order Status set to Processing or Delivered
  • customer "purchases" free item
  • upon completion, the free-charge module will set the order to the specified status, thus leaving the downloads immediately in a downloadable status

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Nov 2009, 6:32 PM
#11
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: ZC Free Charge card Mod

perhaps turning off the Payment Zone in free charge card will make it work???

ARGGGGGGGGGGG that didnt work either!

blessed be the day we make tomorrow a better yesterday

4 Nov 2009, 6:43 PM
#12
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: ZC Free Charge card Mod

ok if there is a free download and a regular product in shopping cart and its paid with a credit card (using my gateway) the download is availble at checkout.

blessed be the day we make tomorrow a better yesterday

4 Nov 2009, 10:29 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: ZC Free Charge card Mod

Right ... because your payment module is probably set to use the "Processing" order-status upon completion.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

5 Nov 2009, 4:56 PM
#14
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: ZC Free Charge card Mod

Thank you Sensei for your attention to my problem (hands together bowing)

I have changed the settings several times and had others test it but for sme reason it isnt taking the changes. Currently I have it set for "delivered" but customer order history still says "pending". is there a setting in admin that may have an effect on this? Possibly shipping/ I ask this because for a time I was getting "we do not ship to your region" when I got rid of that then "we do not accept payment from your region" showed up and stopped when offline processing was disabled?????? and free stuff show shipping as "f"

blessed be the day we make tomorrow a better yesterday

5 Nov 2009, 5:28 PM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: ZC Free Charge card Mod

Lackew:

I have changed the settings several times and had others test it but for sme reason it isnt taking the changes. Currently I have it set for "delivered" but customer order history still says "pending".
Changing the module's status only affects NEW orders placed AFTER changing the status.
If you want to adjust existing orders, you have to touch them manually, by using the update option at the bottom of the order details page.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

5 Nov 2009, 5:31 PM
#16
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: ZC Free Charge card Mod

OMG finally found it.
Admin/Localization/Order Status
Pending was selected at default, I changed Processing to default.
WONDERFUL.
Also disabled free charge & got the return of message error: not accepting payments from your region, which I edited to say: no payments required - click continue to download:clap:

blessed be the day we make tomorrow a better yesterday

5 Nov 2009, 5:39 PM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: ZC Free Charge card Mod

Lackew:

OMG finally found it.
Admin/Localization/Order Status
Pending was selected at default, I changed Processing to default.That's not advisable. Just be sure that if you ever enable another module, you'll need to be sure that you want its orders to end up in that status if it's set to use "default".
It's much safer to set Free Charge to "Processing".
Lackew:

Also disabled free charge & got the return of message error: not accepting payments from your region, which I edited to say: no payments required - click continue to download:clap:
I submit that that's also not the right approach, since free charger should be the one handling free orders, and the "not accepting" message is a result of bad zone configuration in the free-charge module.

Nevertheless, you've apparently found a workaround to whatever unexplainable glitches exist in your site. The problems you're describing don't exist on a clean brand new uncustomized install.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

5 Nov 2009, 6:23 PM
#18
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: ZC Free Charge card Mod

DrByte:

It's much safer to set Free Charge to "Processing"..
Hopefully I will find the glitch that wont accept the right settings and make the correction at that time.

DrByte:

I submit that that's also not the right approach, since free charger should be the one handling free orders, and the "not accepting" message is a result of bad zone configuration in the free-charge module."..
Will look into that again for I had no zones set for free-charge.

I do have 1 zone set in payments & shipping!

blessed be the day we make tomorrow a better yesterday

5 Nov 2009, 7:17 PM
#19
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: ZC Free Charge card Mod

Got free-charge back in and working Great with default selected! Guess the Admin/Localization/Order Status did the trick!
Tahnks again for all your help!

blessed be the day we make tomorrow a better yesterday