Post by jameel » Wed Sep 22, 2010 9:58 pm

but receive emails if form contains email such as email@samedomain.com (local email address)

Newbie

Posts

Joined
Wed Sep 22, 2010 7:39 pm

Post by roeligan » Thu Sep 23, 2010 7:19 pm

A client of mine just called me with the following issue:
Customers which have an email-address containing a "-" (dash) are not able to register or order products.
The email-address is rejected as it is not recognized as a proper address.

Newbie

Posts

Joined
Thu Jul 08, 2010 6:41 am
Location - Globe

Post by dbstr » Thu Sep 23, 2010 7:45 pm

roeligan wrote:A client of mine just called me with the following issue:
Customers which have an email-address containing a "-" (dash) are not able to register or order products.
The email-address is rejected as it is not recognized as a proper address.
http://forum.opencart.com/viewtopic.php ... 892#p98892

Request Reviews v1.0 released.


Active Member

Posts

Joined
Sun Aug 30, 2009 12:20 am

Post by celestial » Fri Sep 24, 2010 2:56 am

Version 1.4.9.1

Error on this line

// RegEx
$define('EMAIL_PATTERN', '/^[A-Z0-9._%\-+]+@[A-Z0-9][A-Z0-9.-]{0,61}[A-Z0-9]\.[A-Z]{2,6}$/i');

Thks

Celestial - Martín Abel Rosales
WhatsApp: 50671482211
Email: martinrosales2012@hotmail.com
Skype: martin.abel.rosales
San José , Costa Rica


User avatar
Expert Member

Posts

Joined
Sat Mar 20, 2010 4:19 am
Location - Costa Rica

Post by Qphoria » Fri Sep 24, 2010 2:59 am

celestial wrote:Version 1.4.9.1

Error on this line

// RegEx
$define('EMAIL_PATTERN', '/^[A-Z0-9._%\-+]+@[A-Z0-9][A-Z0-9.-]{0,61}[A-Z0-9]\.[A-Z]{2,6}$/i');

Thks
That is not v1.4.9.1 That is checked into SVN for 1.5.0 and has the "-" dash fix

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by celestial » Fri Sep 24, 2010 3:27 am

but is ok???

r130 - Various bug fixes since 1.4.9.1 - Added email regex defines to the index.php files

I take from here and i think is for 1.4.9.1
Last edited by celestial on Fri Sep 24, 2010 3:30 am, edited 1 time in total.

Celestial - Martín Abel Rosales
WhatsApp: 50671482211
Email: martinrosales2012@hotmail.com
Skype: martin.abel.rosales
San José , Costa Rica


User avatar
Expert Member

Posts

Joined
Sat Mar 20, 2010 4:19 am
Location - Costa Rica

Post by Qphoria » Fri Sep 24, 2010 3:28 am

It says "fixes since 1.4.9.1"

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by celestial » Fri Sep 24, 2010 3:31 am

Q please but my error??? maybe is the $

Celestial - Martín Abel Rosales
WhatsApp: 50671482211
Email: martinrosales2012@hotmail.com
Skype: martin.abel.rosales
San José , Costa Rica


User avatar
Expert Member

Posts

Joined
Sat Mar 20, 2010 4:19 am
Location - Costa Rica

Post by Qphoria » Fri Sep 24, 2010 3:57 am

what error? All you did was paste code from the next version of the cart that already fixes the dash issue.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by celestial » Fri Sep 24, 2010 4:20 am

error.jpg

error.jpg (19.47 KiB) Viewed 7082 times


// RegEx
$define('EMAIL_PATTERN', '/^[A-Z0-9._%\-+]+@[A-Z0-9][A-Z0-9.-]{0,61}[A-Z0-9]\.[A-Z]{2,6}$/i');

Celestial - Martín Abel Rosales
WhatsApp: 50671482211
Email: martinrosales2012@hotmail.com
Skype: martin.abel.rosales
San José , Costa Rica


User avatar
Expert Member

Posts

Joined
Sat Mar 20, 2010 4:19 am
Location - Costa Rica

Post by Qphoria » Fri Sep 24, 2010 4:33 am

still don't understand why you are using that code. It is not 1.4.9.1 and won't work in 1.4.9.1
But yes, remove the $

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by ianm » Sat Sep 25, 2010 11:33 pm

I've installed a fresh copy of 1.4.9.1 on a local web server and may have come across a bug.

I enabled and setup PayPal Standard and Flat Rate shipping plus I inserted a new currency for AU Dollars (AUD). I then selected AU Dollars and did a test order. What I found is that all amounts look okay on the final ordering page but post confirmation of the order when I'm redirected to PayPal the Postage and Packing amount is missing.

I then changed the currency to GBP and tried again. This time the Postage and Packing did appear when redirected to PayPal. In fact it seems to work with any of the currencies (Euro, Pounds, US Dollar) that came with OC but not with the AU Dollar which I added.

Can someone please confirm if this is a real issue or have I missed something when inserting the currency?

Newbie

Posts

Joined
Sat Sep 25, 2010 11:07 pm

Post by Gerrit » Mon Sep 27, 2010 6:52 pm

In the order_confirm template is an error, or an overlooked thing.

Change catalog/view/theme/template/default/mail/order_confirm.tpl

Find:

Code: Select all

<th align="left" style="color: #FFFFFF;"><?php echo $column_model; ?></th>
Change:

Code: Select all

<th align="left" style="padding: 0.3em; color: #FFFFFF;"><?php echo $column_model; ?></th>
Find:

Code: Select all

<td align="left"><?php echo $product['name']; ?>
Change:

Code: Select all

<td align="left"><?php echo $product['model']; ?>
Find 2 lines below

Code: Select all

<td align="left"><?php echo $product['model']; ?></td>
Change:

Code: Select all

<td align="left"><?php echo $product['name']; ?></td>
G.

For modelcars cars see my OC 3.0.2.0 shop: http://www.gbcars.nl/
For Wooden Toys see my 2.3.0.2 shop: https://www.dehoutentreinenwinkel.nl/


User avatar
Active Member

Posts

Joined
Fri Nov 27, 2009 9:06 pm

Post by ianm » Tue Sep 28, 2010 10:36 pm

ianm wrote:I've installed a fresh copy of 1.4.9.1 on a local web server and may have come across a bug.

I enabled and setup PayPal Standard and Flat Rate shipping plus I inserted a new currency for AU Dollars (AUD). I then selected AU Dollars and did a test order. What I found is that all amounts look okay on the final ordering page but post confirmation of the order when I'm redirected to PayPal the Postage and Packing amount is missing.

I then changed the currency to GBP and tried again. This time the Postage and Packing did appear when redirected to PayPal. In fact it seems to work with any of the currencies (Euro, Pounds, US Dollar) that came with OC but not with the AU Dollar which I added.

Can someone please confirm if this is a real issue or have I missed something when inserting the currency?
Sorry my bad - for some reason when I had used the clear function in my PayPal shipping calculations section it inserted $0 amounts as the shipping cost hence the effect above.

Newbie

Posts

Joined
Sat Sep 25, 2010 11:07 pm

Post by Qphoria » Tue Sep 28, 2010 11:34 pm

Gerrit wrote:In the order_confirm template is an error, or an overlooked thing.

Change catalog/view/theme/template/default/mail/order_confirm.tpl

Find:

Code: Select all

<th align="left" style="color: #FFFFFF;"><?php echo $column_model; ?></th>
Change:

Code: Select all

<th align="left" style="padding: 0.3em; color: #FFFFFF;"><?php echo $column_model; ?></th>
Find:

Code: Select all

<td align="left"><?php echo $product['name']; ?>
Change:

Code: Select all

<td align="left"><?php echo $product['model']; ?>
Find 2 lines below

Code: Select all

<td align="left"><?php echo $product['model']; ?></td>
Change:

Code: Select all

<td align="left"><?php echo $product['name']; ?></td>
G.
Not quite sure about this one. There is an issue with the model column being wider than the product name column. But you are swapping the model and the product name. I would think leaving them in the same place would be better but with the fixed widths. So I guess the fix would be:

EDIT: catalog/view/theme/template/default/mail/order_confirm.tpl

FIND:

Code: Select all

<th align="left" style="width: 15%; padding: 0.3em; color: #FFFFFF;"><?php echo $column_product; ?></th>
<th align="left" style="color: #FFFFFF;"><?php echo $column_model; ?></th>
REPLACE WITH:

Code: Select all

<th align="left" style="padding: 0.3em; color: #FFFFFF;"><?php echo $column_product; ?></th>
<th align="left" style="width: 15%; padding: 0.3em; color: #FFFFFF;"><?php echo $column_model; ?></th>

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by eka7a » Thu Sep 30, 2010 5:45 am

Order history-->Order Status text_none error

Image

Windows 11 Pro Digital License Key


User avatar
Active Member

Posts

Joined
Sun Apr 12, 2009 12:59 am
Location - Türkiye

Post by Xsecrets » Thu Sep 30, 2010 6:31 am

that's going to be a language pack issue not an opencart bug.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by eka7a » Thu Sep 30, 2010 8:57 am

Xsecrets wrote:that's going to be a language pack issue not an opencart bug.
I've downloaded the file errored. i am again dowload oc files and upload admin/controller/sale/order.php fixed

Thanks for the suggestion

Windows 11 Pro Digital License Key


User avatar
Active Member

Posts

Joined
Sun Apr 12, 2009 12:59 am
Location - Türkiye

Post by Qphoria » Thu Sep 30, 2010 1:07 pm

This is a fix for a long time bug with image extensions in uppercase. It wasn't until I fixed a different issue in the code in 1.4.9.1 that this became a factor. If you have some images that aren't loading, this will fix it:

1. EDIT: system/library/image.php

2. FIND:

Code: Select all

$extension = $info['extension']; 
3. REPLACE WITH:

Code: Select all

$extension = strtolower($info['extension']); 

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Brook » Sun Oct 03, 2010 10:46 am

Not sure what is going on. I have OC 1.4.9.1 installed with the PayPal Standard Module and Flat Rate Shipping of $10.00

I had a customer place an order yesterday totaling $137.74
$118.00 Item Order Cost
$118.00 Subtotal
$ 8.25 Texas Sales Tax
$ 10.00 Flat Rate Shipping Cost
$137.74 Order Total

For some reason the $ amount that was charged to the customer via PayPal was $138.56 not $137.74 (the OpenCart order total). Should the customer be charged the same $ amount in PayPal that was recorded in OpenCart?

When I log into PayPal to look at the transaction I see that the customer was charged $138.56.
What is going on? Why would PayPal not be charged the same dollar amount $137.74 that was recorded in OpenCart?

The following PayPal information was written to my Error Log

Code: Select all

2010-10-01 20:51:02 - PP_STANDARD :: IPN INIT <-- DEBUG POST VARS::mc_gross=138.56&invoice=168 - Sunny Lucas&protection_eligibility=Partially Eligible - INR Only&address_status=unconfirmed&item_number1=DD T1760 arabian red&payer_id=WRL6CZCTJF7SN&tax=10.56&address_street=604 Canyon Creek&payment_date=13:50:58 Oct 01, 2010 PDT&option_selection1_1=arabian red, Size XL (Size 14 to 16)&payment_status=Completed&charset=windows-1252&address_zip=75904&mc_shipping=10.00&mc_handling=0.00&first_name=Sunny&mc_fee=4.32&address_country_code=US&address_name=Sunny Lucas¬ify_version=3.0&custom=qnmd&payer_status=verified&business=emailus@shopcelebrity.net&address_country=United States&num_cart_items=1&mc_handling1=0.00&address_city=Lufkin&verify_sign=AcyJTfTfbKe4d9xKsP1QPwCRLjzJAJ.1kYafPL4WUT8ooCISZs75EuXT&payer_email=sunnyd557@yahoo.com&mc_shipping1=10.00&option_name1_1=Color, Size&contact_phone=&txn_id=0SX60797JW387564H&payment_type=instant&last_name=Lucas&address_state=TX&item_name1=Bengali Dancer Peasant Top&receiver_email=emailus@shopcelebrity.net&payment_fee=4.32&quantity1=1&receiver_id=KMTWRVHVY6GR2&txn_type=cart&mc_gross_1=128.00&mc_currency=USD&residence_country=US&transaction_subject=qnmd&payment_gross=138.56&
2010-10-01 20:51:03 - PP_STANDARD :: IPN REQ  --> cmd=_notify-validate&mc_gross=138.56&invoice=168+-+Sunny+Lucas&protection_eligibility=Partially+Eligible+-+INR+Only&address_status=unconfirmed&item_number1=DD+T1760+arabian+red&payer_id=WRL6CZCTJF7SN&tax=10.56&address_street=604+Canyon+Creek&payment_date=13%3A50%3A58+Oct+01%2C+2010+PDT&option_selection1_1=arabian+red%2C+Size+XL+%28Size+14+to+16%29&payment_status=Completed&charset=windows-1252&address_zip=75904&mc_shipping=10.00&mc_handling=0.00&first_name=Sunny&mc_fee=4.32&address_country_code=US&address_name=Sunny+Lucas¬ify_version=3.0&custom=qnmd&payer_status=verified&business=emailus%40shopcelebrity.net&address_country=United+States&num_cart_items=1&mc_handling1=0.00&address_city=Lufkin&verify_sign=AcyJTfTfbKe4d9xKsP1QPwCRLjzJAJ.1kYafPL4WUT8ooCISZs75EuXT&payer_email=sunnyd557%40yahoo.com&mc_shipping1=10.00&option_name1_1=Color%2C+Size&contact_phone=&txn_id=0SX60797JW387564H&payment_type=instant&last_name=Lucas&address_state=TX&item_name1=Bengali+Dancer+Peasant+Top&receiver_email=emailus%40shopcelebrity.net&payment_fee=4.32&quantity1=1&receiver_id=KMTWRVHVY6GR2&txn_type=cart&mc_gross_1=128.00&mc_currency=USD&residence_country=US&transaction_subject=qnmd&payment_gross=138.56
2010-10-01 20:51:03 - PP_STANDARD :: IPN RESP <-- VERIFIED
2010-10-01 20:51:03 - PP_STANDARD :: VALIDATION FAILED : PP_Standard - Possible Scam: IPN/PDT Price "138.56" does not match OpenCart Total "137.7350". Order needs manual verification.
2010-10-01 20:51:06 - PP_STANDARD :: PDT INIT <-- DEBUG GET VARS::route=payment/pp_standard/pdt&tx=0SX60797JW387564H&st=Completed&amt=138.56&cc=USD&cm=qnmd&item_number=&
2010-10-01 21:03:51 - PP_STANDARD :: IPN INIT <-- DEBUG POST VARS::mc_gross=-138.56&invoice=168 - Sunny Lucas&protection_eligibility=Partially Eligible - INR Only&item_number1=DD T1760 arabian red&payer_id=WRL6CZCTJF7SN&address_street=604 Canyon Creek&payment_date=14:03:37 Oct 01, 2010 PDT&option_selection1_1=arabian red, Size XL (Size 14 to 16)&payment_status=Refunded&charset=windows-1252&address_zip=75904&mc_shipping=10.00&mc_handling=0.00&first_name=Sunny&mc_fee=-4.32&address_country_code=US&address_name=Sunny Lucas¬ify_version=3.0&reason_code=refund&custom=qnmd&business=emailus@shopcelebrity.net&address_country=United States&mc_handling1=0.00&address_city=Lufkin&verify_sign=AQEgFLG-gYJRPNwVRAb4gD.Dx6t9AH5qGyXdtJlOHoQYM.2ZzljIUyDv&payer_email=sunnyd557@yahoo.com&mc_shipping1=10.00&parent_txn_id=0SX60797JW387564H&option_name1_1=Color, Size&contact_phone=&txn_id=6DW70281A02973521&payment_type=instant&last_name=Lucas&address_state=TX&item_name1=Bengali Dancer Peasant Top&receiver_email=emailus@shopcelebrity.net&payment_fee=-4.32&quantity1=1&receiver_id=KMTWRVHVY6GR2&mc_gross_1=128.00&mc_currency=USD&residence_country=US&transaction_subject=qnmd&payment_gross=-138.56&
2010-10-01 21:03:51 - PP_STANDARD :: IPN REQ  --> cmd=_notify-validate&mc_gross=-138.56&invoice=168+-+Sunny+Lucas&protection_eligibility=Partially+Eligible+-+INR+Only&item_number1=DD+T1760+arabian+red&payer_id=WRL6CZCTJF7SN&address_street=604+Canyon+Creek&payment_date=14%3A03%3A37+Oct+01%2C+2010+PDT&option_selection1_1=arabian+red%2C+Size+XL+%28Size+14+to+16%29&payment_status=Refunded&charset=windows-1252&address_zip=75904&mc_shipping=10.00&mc_handling=0.00&first_name=Sunny&mc_fee=-4.32&address_country_code=US&address_name=Sunny+Lucas¬ify_version=3.0&reason_code=refund&custom=qnmd&business=emailus%40shopcelebrity.net&address_country=United+States&mc_handling1=0.00&address_city=Lufkin&verify_sign=AQEgFLG-gYJRPNwVRAb4gD.Dx6t9AH5qGyXdtJlOHoQYM.2ZzljIUyDv&payer_email=sunnyd557%40yahoo.com&mc_shipping1=10.00&parent_txn_id=0SX60797JW387564H&option_name1_1=Color%2C+Size&contact_phone=&txn_id=6DW70281A02973521&payment_type=instant&last_name=Lucas&address_state=TX&item_name1=Bengali+Dancer+Peasant+Top&receiver_email=emailus%40shopcelebrity.net&payment_fee=-4.32&quantity1=1&receiver_id=KMTWRVHVY6GR2&mc_gross_1=128.00&mc_currency=USD&residence_country=US&transaction_subject=qnmd&payment_gross=-138.56
2010-10-01 21:03:51 - PP_STANDARD :: IPN RESP <-- VERIFIED

Active Member

Posts

Joined
Wed Feb 24, 2010 12:15 am
Who is online

Users browsing this forum: No registered users and 72 guests