Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Credit Class/Gift Vouchers/Discount Coupons 5.10


4756 replies to this topic

#1781 sargenle

  • Community Member
  • 175 posts
  • Real Name:Leon Sargent
  • Gender:Male

Posted 12 December 2004, 07:45

Strider, on Dec 11 2004, 05:15 PM, said:

sargenle: try changing
if ($order->content_type == 'virtual') {

to

 if (($order->content_type == 'virtual') || ($order->content_type == 'virtual_weight') ) {

<{POST_SNAPBACK}>


That was the fix I needed.

Thank you very much : )

Lee

#1782 spherica

  • Community Member
  • 11 posts
  • Real Name:Seph

Posted 12 December 2004, 15:34

I've sifted through I don't know how many pages, and can't see any indication of my problem.

I go in and buy a Gift Certificate (weight 0 , Model GIFT25 ) and download enabled.

I get to the checkout, go through the process (2check out, paypal, linkpointconnect) after that, Iget forwarded back to the checkout_payment, and noything goes to the admin orders, but it does sit in the process of the merchant account.

However, if I try and buy something else, it works fine.

If I combined, and buy a product AND a Gift Cert. I get the same thing in forwarding back to the checkout_payment.php

did I miss something??

#1783 stewart

  • Community Member
  • 27 posts
  • Real Name:Stewart

Posted 12 December 2004, 22:37

See this post 1760 for my original reply in this forum.

I have since added the contrib "Downloads Controller", and have sucessfully solved at least one of my hurdles, in getting the CCGV contrib to work. That is, because this contrib "Downloads Controller", adds a "free shipping" module when installed.

Now, when I try to check out when purchasing a GV, shipping is not charged. But I still get redirected back to the payment information page when confirming the order (see above mentioned post again).

When purchasing a GV and another product, I still get charged for shipping for the GV (problem), as well as the other product (not a problem). The "free shipping" module does not come into play.

Again, when confirming the order, I get redirected back to the payment information page.

I have read all 90 pages of this forum twice. I have tried the solutions mentioned in this forum, for effect. All the params are set correctly (reasonably sure on both these statements).

Are there any other new thoughts?

#1784 webwitch2003

  • Community Member
  • 97 posts
  • Real Name:Angi
  • Location:Sacramento, CA

Posted 13 December 2004, 04:26

Mibble, on Dec 9 2004, 06:18 PM, said:

ahhhhh, another beyond comparer!  yes, it works so well i put it into my store!  and also windows grep has proven invaluable, to search for whatever text you want to find in any directory.  i work with over 50 web sites and it has been a life saver.  actually both have been.  now i just have to search for the code changes for bypassing submission of a cc if the voucher amount is higher than the balance due.

<{POST_SNAPBACK}>

Ok, i have downloaded Beyond Compare becuase i have heard so many of you recommend it.

I just wanted to make sure i use it correctly.

When I open checkout_confirmation.php (as it applies to this contribution) i see all the pink lines on the right that are not on the left. Do I just add them to the left, save the file and then up load it again? It seems pretty basic, but one thing i have learned from this oscomm stuff is if it seems easy i am doing it wrong! :blush: :P

As a matter of interest.... I just want to add in a coupon code - no discount vouchers or gift vouchers or anything fancy... just something that they can put in code COUP1 (for example) and it will take 10% off their total... Do i have to download and install all of these mods (as stated above)?

1. 26 Jun 2004 - ccgv 510c
2. 11 Jul 2004 - Credit Class & Gift Voucher
3. 4 Sep 2004 - CCGV bug fix
4. 18 Nov 2004 - Class creates a TAX problem

Just the first mod has over 99 files to edit or add. That seems so excessive! :blink:

I really wish someone would clean up that mod it is a real mess! :0)
Thanks for any replies
Angi

#1785 MzBeanz

  • Community Member
  • 264 posts
  • Real Name:Maddie

Posted 13 December 2004, 05:51

I need some assistance. Myu coupons have gone haywire!! When I click on order total in admin panel all I see is one single line that says discoutn code and nothing else! Does anyone know why?? The coupons do not work all the time seems to be hit and miss I am at a total lose as to why this has happend and my site is up and runniung. I would appreciate any help. Thanks!

#1786 doug_b

  • Community Member
  • 29 posts
  • Real Name:Doug

Posted 13 December 2004, 14:58

I'm having difficulties too.

Hopefully a simple fix tho.

When in 'Coupon Admin', I insert a new coupon, and set the end date. When I preview/insert that coupon, the start date defaults to todays date, and the end date defaults back exactly a year from the start date.

Is there a minimum duration for coupons of 1 year?

#1787 sinryder

  • Community Member
  • 555 posts
  • Real Name:Haider

Posted 13 December 2004, 20:48

hello guys , i just installed version ccgv-510c_TC. Everything works fine , but after customer uses their gift voucher, it stays their ( and they can use it again and again ), i am not sure what did i do wrong..

any help is greatly apprecaited

thankyou

#1788 nserdinsky

  • Community Member
  • 8 posts
  • Real Name:Neil
  • Location:Hull, MA

Posted 14 December 2004, 18:57

I am having problems with the interaction of CCGV and my transaction processing gateway (trustcommerce). When a customer uses a DISCOUNT Code everything appears to work correctly (invoice, emails, etc).

However, the customer is charged the entire amount (no discount) on their CC. (luckily I am only pre-authing so I can charge the correct amount when I post-auth).

I am missing a config option or somthing to make this charge the correct amount to the CC?

-Neil
---------------------------------------------------------------------------------

#1789 jacobr

  • Community Member
  • 120 posts
  • Real Name:Jacob R

Posted 14 December 2004, 19:19

hendrickx, on Dec 8 2004, 11:26 AM, said:

I have a version of this contib installed.


2) When I try to send a $10 gift voucher, the amount received by the customer is $0.00. The amount in the gv Queue is $0.00

Thanks!

<{POST_SNAPBACK}>


I didn't see anybody answer this - but just to verify, don't put in the "$" sign into the amount field, or you'll always get $0.00. Just put in the number. (I know I had that problem the first few times I tested it and was baffled.) :P

Jacob

#1790 nserdinsky

  • Community Member
  • 8 posts
  • Real Name:Neil
  • Location:Hull, MA

Posted 14 December 2004, 20:32

This is an update to my last post. It looks like someone else was having this same problem (see post #396). But I am not sure where to put the single line of code referenced in the fix. Anyone else willing to look at post #396?

My main question is where (I am assuming that the file to be edited is includes/modules/payment/trustcommerce.pgp) in the file after the process_button() function that line should go. I tried adding it as:

// !Functions to execute before finishing the form
// Store all the relevant order information into hidden fields for the
// before_process() function to use
    function process_button() {
     global $HTTP_POST_VARS, $order; //ADDED BY NEIL FOR CCGV FIX
      $process_button_string = tep_draw_hidden_field('cc', $this->cc_card_number) .
                               tep_draw_hidden_field('exp', $this->cc_expiry_month . substr($this->cc_expiry_year, -2));

      if (MODULE_PAYMENT_TRUSTCOMMERCE_CVV == 'True') {
        $process_button_string .= tep_draw_hidden_field('cvv', $HTTP_POST_VARS['trustcommerce_cc_cvv']);
      }

      return $process_button_string;
    }

but that did not seem to work.

Any thoughts?
Neil
---------------------------------------------------------------------------------

#1791 nserdinsky

  • Community Member
  • 8 posts
  • Real Name:Neil
  • Location:Hull, MA

Posted 14 December 2004, 22:24

I have futzed and futzed with this.

What is going on between the process_button() function and before_process() function?

If I put debug prints in the payment code I can see that $order->['total'] is correct at the beginning of the process_button() function BUT if I put the same print statement in the before_process() function I get the total WITHOUT the discount.

Please help on this one - could this be a OSC config issue and not a trustcommerce.php issue?

-Neil


nserdinsky, on Dec 14 2004, 03:32 PM, said:

This is an update to my last post. It looks like someone else was having this same problem (see post #396). But I am not sure where to put the single line of code referenced in the fix. Anyone else willing to look at post #396?

My main question is where (I am assuming that the file to be edited is includes/modules/payment/trustcommerce.pgp) in the file after the process_button() function that line should go. I tried adding it as:

// !Functions to execute before finishing the form
// Store all the relevant order information into hidden fields for the
// before_process() function to use
    function process_button() {
     global $HTTP_POST_VARS, $order; //ADDED BY NEIL FOR CCGV FIX
      $process_button_string = tep_draw_hidden_field('cc', $this->cc_card_number) .
                               tep_draw_hidden_field('exp', $this->cc_expiry_month . substr($this->cc_expiry_year, -2));

      if (MODULE_PAYMENT_TRUSTCOMMERCE_CVV == 'True') {
        $process_button_string .= tep_draw_hidden_field('cvv', $HTTP_POST_VARS['trustcommerce_cc_cvv']);
      }

      return $process_button_string;
    }

but that did not seem to work.

Any thoughts?
Neil

<{POST_SNAPBACK}>


---------------------------------------------------------------------------------

#1792 Strider

  • Community Member
  • 413 posts
  • Real Name:Strider
  • Location:New York

Posted 15 December 2004, 05:51

nserdinsky: What is your sort order?
(my knowledge is so small you would think that an ant was a genius in comparison)

#1793 spherica

  • Community Member
  • 11 posts
  • Real Name:Seph

Posted 15 December 2004, 09:24

Here is a list of problems I have incountered with the mod, any help is appreciated.

When purchasing a Gift Certificate, after process order, you are directed back to the payment page, order is not getting put into database for shipping process.

When using the "Welcome" Coupon that is sent out with the Welcome email apon creating an account, the code sent does the same thing, after you clikc porcess, you are directed back to the payment.

When using the Admin fuction to create coupons that you manual send out, while it does says
(demonstration)
sub total 100.00
coupon -10.00
Total 100.00
But when you are sent to the merchant it does charge $90 also in the verification emails that are sent out, and are in the same format, Total is 100 - 10

Thanks for the help in advance.

Edited by spherica, 15 December 2004, 09:24.


#1794 nserdinsky

  • Community Member
  • 8 posts
  • Real Name:Neil
  • Location:Hull, MA

Posted 15 December 2004, 13:56

This is what I have right now:

Discount Coupons 9
Giftwrap 3
Gift Vouchers 740
Low Order Fee
Shipping 2
Sub-Total 1
Tax 4
Total 900

I thought giftwrap may have been the problem so I tried removing it completely but had the same results.

I have the discounts setup to not apply against tax or shipping.

All the totals work correctly within OSC, but just not with the payment gateway.

Thanks!
Neil
 


Strider, on Dec 15 2004, 12:51 AM, said:

nserdinsky: What is your sort order?

<{POST_SNAPBACK}>


---------------------------------------------------------------------------------

#1795 iamcanadian

  • Community Member
  • 34 posts
  • Real Name:JUSTME

Posted 16 December 2004, 20:19

nate_02631, on Oct 15 2004, 04:51 PM, said:

Hi all, just wondering if any users of this contrib, using in conjuction with a qty discount, have run into the "double-discount" issue described in the post below:

How 2 exclude vouchers from quantity discount calc, Voucher getting "double discount"...

<{POST_SNAPBACK}>


I am using the Customer Discount mod and would like to have the option to exclude Gift Vouchers from any type of discount as well. A $5.00 Gift Voucher ends up being a $4.25 Gift Voucher with the 15% Customer Discount.

Is this possible to exclude the purchase of Gift Vouchers from special discounts?

#1796 Strider

  • Community Member
  • 413 posts
  • Real Name:Strider
  • Location:New York

Posted 16 December 2004, 21:11

I haven't played with Customer Discount mod, but gift vouchers are not discounted with discount coupons.
(my knowledge is so small you would think that an ant was a genius in comparison)

#1797 nserdinsky

  • Community Member
  • 8 posts
  • Real Name:Neil
  • Location:Hull, MA

Posted 17 December 2004, 01:20

Does anyone have ideas? Perhaps something in my config?
-Neil

nserdinsky, on Dec 15 2004, 08:56 AM, said:

This is what I have right now:

Discount Coupons 9
Giftwrap 3
Gift Vouchers 740
Low Order Fee
Shipping 2
Sub-Total 1
Tax 4
Total 900

I thought giftwrap may have been the problem so I tried removing it completely but had the same results.

I have the discounts setup to not apply against tax or shipping.

All the totals work correctly within OSC, but just not with the payment gateway.

Thanks!
Neil
 

<{POST_SNAPBACK}>


---------------------------------------------------------------------------------

#1798 iamcanadian

  • Community Member
  • 34 posts
  • Real Name:JUSTME

Posted 17 December 2004, 02:10

iamcanadian, on Dec 16 2004, 04:19 PM, said:

I am using the Customer Discount mod and would like to have the option to exclude Gift Vouchers from any type of discount as well. A $5.00 Gift Voucher ends up being a $4.25 Gift Voucher with the 15% Customer Discount.

Is this possible to exclude the purchase of Gift Vouchers from special discounts?

<{POST_SNAPBACK}>



GOOD NEWS: After more testing I realize that the actual value of the GV is credited, so the credit would only be $4.25 - no double discount. :thumbsup:

BAD NEWS: Can be confusing for customers when they think they are buying $5 in GV, when actually it's only 4.25. Maybe I'll just make a 4 gift vouchers that = $1 for each discount level (although this will most likely look very unprofessional).

You see, the way way Customer Discounts work is the price is discounted in the store, not at the checkout.

I'll live with it for now I guess :D

#1799 sinryder

  • Community Member
  • 555 posts
  • Real Name:Haider

Posted 17 December 2004, 21:23

I am having problems with version ccgv-510c_TC .When a customer uses a DISCOUNT Code everything appears to work correctly ( emails, invoices ).

However, the Discount stays in their shopping cart and they can use it again ang again

any help is greatly appreciated

thankyou

#1800 Baxis

  • Community Member
  • 3 posts
  • Real Name:Eric L. K.

Posted 18 December 2004, 16:54

stewart, on Dec 12 2004, 05:37 PM, said:

See this post  1760 for my original reply in this forum.

I have since added the contrib "Downloads Controller", and have sucessfully solved at least one of my hurdles, in getting the CCGV contrib to work. That is, because this contrib "Downloads Controller", adds a "free shipping" module when installed.

Now, when I try to check out when purchasing a GV, shipping is not charged. But I still get redirected back to the payment information page when confirming the order (see above mentioned post again).

When purchasing a GV and another product, I still get charged for shipping for the GV (problem), as well as the other product (not a problem). The "free shipping" module does not come into play.

Again, when confirming the order, I get redirected back to the payment information page.

I have read all 90 pages of this forum twice. I have tried the solutions mentioned in this forum, for effect. All the params are set correctly (reasonably sure on both these statements).

Are there any other new thoughts?

<{POST_SNAPBACK}>