Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warpz

Members
  • Content count

    5
  • Joined

  • Last visited

  1. Some more information... Here is an example transaction: 1 x 10ft USB Cable (A-B) - $6.00 disount coupon applied: -$100.00 sub-Total: $-94.00 Shipping Rate: $5.99 Total: $-88.01 Here is a debug output (from transaction above): <!-- Discount Coupons DEBUG order Object ( [info] => Array ( [order_status] => 1 [currency] => USD [currency_value] => 1.00000000 [payment_method] => PayPal Direct Payment [cc_type] => [cc_owner] => [cc_number] => [cc_expires] => [shipping_method] => Individual Shipping - Zone 1 (Shipping Rate) [shipping_cost] => 5.99 [subtotal] => -94 [tax] => 0 [tax_groups] => Array ( [Unknown tax rate] => -0 ) [comments] => [total] => -88.01 ) [totals] => Array ( ) [products] => Array ( [0] => Array ( [qty] => 1 [name] => 10ft USB Cable (A-B) [model] => [tax] => 0 [tax_description] => Unknown tax rate [price] => 6.0000 [final_price] => 6 [weight] => 4.00 [id] => 142 ) ) [customer] => Array ( [firstname] => xx [lastname] => xx [company] => [street_address] => xx [suburb] => [city] => xx [postcode] => xx [state] => xx [zone_id] => xx [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [format_id] => 2 [telephone] => xx [email_address] => xx ) [delivery] => Array ( [firstname] => xx [lastname] => xx [company] => [street_address] => xx [suburb] => [city] => xx [postcode] => xx [state] => xx [zone_id] => xx [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [country_id] => 223 [format_id] => 2 ) [content_type] => physical [billing] => Array ( [firstname] => xx [lastname] => xx [company] => [street_address] => xx [suburb] => [city] => xx [postcode] => xx [state] => xx [zone_id] => xx [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [country_id] => 223 [format_id] => 2 ) [coupon] => discount_coupon Object ( [messages] => Array ( [debug] => Array ( [0] => INFO: DISPLAY_PRICE_WITH_TAX = false [1] => INFO: MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING = false [2] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS = true [3] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_SORT_ORDER = 1 [4] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TYPE = true [5] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_SUBTOTAL = true [6] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TAX = None [7] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_EXCLUDE_SPECIALS = true [8] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_RANDOM_CODE_LENGTH = 6 [9] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_LINES = false [10] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_ALLOW_NEGATIVE = false [11] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_USE_LANGUAGE_FILE = false [12] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_CONFIG = Discount Coupon [code] applied [13] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DEBUG = true [14] => INFO: Percentage of discount applied to product 142: 16.666666666667. [15] => INFO: Fixed discount applied to product 142: -10.666666666667. [16] => INFO: Fixed adjustment for product 142: difference: 110.66666666667 unadjusted applied_discount: -10.666666666667 [17] => INFO: Product 142 passed exclusion check. Discount 100 applied. (fixed) [18] => INFO: Discount of 100 applied to product 142 ($6). [19] => INFO: Calculating tax on -94. Displayed price -94. ) ) [coupon] => Array ( [coupons_id] => dad [coupons_description] => fathers day [coupons_discount_amount] => 100.000000000000 [coupons_discount_type] => fixed [coupons_date_start] => 2008-05-01 00:00:00 [coupons_date_end] => 2008-06-16 00:00:00 [coupons_max_use] => 1 [coupons_min_order] => 100.0000 [coupons_min_order_type] => price [coupons_number_available] => 100 ) [applied_discount] => Array ( [Unknown tax rate] => 100 ) [cart_info] => Array ( [valid_products] => Array ( [count] => 1 [line_items] => 1 [total] => 6 ) [total_products] => Array ( [count] => 1 [line_items] => 1 [total] => 6 ) [exclusions] => Array ( [categories] => Array ( ) [products] => Array ( ) [manufacturers] => Array ( ) ) ) [discount_tax] => Array ( [Unknown tax rate] => 0 ) ) ) End Discount Coupons DEBUG-->
  2. I am also having problems with my discount coupons. My coupons are applied to everything. Regardless of exclusions status or min price/qty. I would greatly appreciate any help. I have been searching through these forums for weeks trying to figure it out. Thanks, Warpz
  3. I am also getting the error noted below, along with the error listed above. Any help for either would be greatly appreciated. Thanks.
  4. Warpz

    PayPal WPP Direct Payments & Express Checkout Support

    After some searching i found the problem: GoDaddy requires a proxy for curl. After i set this in the admin options, everything seems to be working. Thanks again for this great contribution!
  5. Warpz

    PayPal WPP Direct Payments & Express Checkout Support

    First of all I want to say thanks for developing such a great contribution. Here is the problem that i am running in to: Everything was installed fine (inserted everything because i have some other addons as well) However, it hangs on wpp_diagnositcs and the final order confirmation screen just takes a while and loads a plain white screen If this helps: After i first installed it i was receiving the same "foreach()" errors as Quantrum above. it was fixed using the recommended bug fix. My certificate is uploaded to the right location, so I am not sure where to look next. Any help would be greatly appreciated. Thanks.
×