jeu4328 Posted October 23, 2013 Posted October 23, 2013 When I go in to test my store, I add item to cart and try to check out using PayPal, I get this error: The field Shipping Address1 is required. I logged into the online chatroom yesterday and BURT suggested the following, stating that the other person in chat room would give directions as to where to go to do this. However, he was busy and could not help me at that time. $parameters['address_override'] = '1'; · you need that in the payment module Could someone please tell me exactly where to go to make this change? Also, if additional instructions are needed, could you please let me know? Please keep in mind when responding ... the more detail the better, as I am not trained to do coding. Thank you so much - any help would be greatly appreciated, Jewell
jeu4328 Posted October 23, 2013 Author Posted October 23, 2013 I forgot to mention in the original post that I do not require mailing addresses and phone numbers from my customers because I sell downloadable embroidery designs. The only thing I require is their name and email address. Thank you, Jewell
jeu4328 Posted October 24, 2013 Author Posted October 24, 2013 Is there anyone who can please help me with this? Thank you, Jewell
♥14steve14 Posted October 24, 2013 Posted October 24, 2013 It looks like that code should be changed in the payment module. So assuming that you are using paypal standard you need to look in includes/modules/payment/paypal_standard.php. If youare using any other paypal module look in the relevany file in the same folder as the one above is in. REMEMBER BACKUP, BACKUP AND BACKUP
jeu4328 Posted October 24, 2013 Author Posted October 24, 2013 Thank you, Steve. I appreciate your help. :) It appears that the code provided $parameters['address_override'] = '1'; is already a part of the code within includes/modules/payment/paypal_standard.php However, I am not using PayPal Standard. I am using PayPal Express, and I am not sure where to add this code within the file includes/modules/payment/paypal_express.php The existing code within that file seems to be very different from the code within the PayPal Standard file. I need to know exactly where I need to place the code within the file. Because I am not trained, I have no clue where it is to go. Is this all I need to add to make sure that the only required customer information is first and last name and email address? Thank you, Jewell
♥14steve14 Posted October 24, 2013 Posted October 24, 2013 By any chance have you changed any address settings in your Admin area > Configuration > Customer Details > Have you set suburb or state to false. if so, set them to true and try again. I do not use papal express, but a google search for your error threw up hundreds of other queries for many other carts also using the orange paypal button. REMEMBER BACKUP, BACKUP AND BACKUP
jeu4328 Posted October 24, 2013 Author Posted October 24, 2013 Hi, Steve: I'm not sure if it was set at default or if I had changed it at one point; all of the items in my Admin > Configure > Customer Details are set to False ... except State, which is set to True. However, I'm not certain, but isn't that setting used to make those fields visible on the Account Setup page? Does that particular setting have anything to do with those fields being required? The reason I ask is because I tried to make a purchase from my TEST account, (this account was set up with just first and last name and email address... the only fields with an asterist indicating other fields are not required fields.) However, I received the error message: The field Shipping Address1 is required. It appears that there is another place where coding must be changed to let the system know particular fields are not required. I guess my questions at this point are: 1) How do I configure the Account Setup to require only first and last name and email address? 2) Does adding $parameters['address_override'] = '1'; to the payment module let the system know that all other fields other than first and last name and address are not required? Or is there other coding that needs to be added to override state, zip, phone number, etc? 3) Could someone please give me guidance as to exactly what code needs to be added ... exactly where it needs to be added ... to let the system know the only required fields are First Name, Last Name and eMail Address? Thank you, Jewell
jeu4328 Posted October 25, 2013 Author Posted October 25, 2013 Is there anyone who can help me? I really need to get this problem fixed. Thank you, Jewell
jeu4328 Posted October 25, 2013 Author Posted October 25, 2013 I use StatCounter to track my website, and I am seeing where people are adding items to their shopping cart and not making purchases. I tested my account again this morning, and I am still getting the same error message. I am sure this is causing me to lose sales. If someone could please help I would appreciate it. Thank you, Jewell
Chris H Posted October 26, 2013 Posted October 26, 2013 It seems unlikely that you need to make a change, to the code, that thousands of other people do not need to make. Have you added any add-ons? If you have then did the store work fine before you did so? Have you entered a valid address, at each attempted test purchase? Or have you conversely given the street-name as 'qwerty'? If you entered a valid address each time then did it match that which is associated with the credit card? Or have you moved house? I like the multi-coloured text by the way, your postings look like they were written by an embroidery designer ...
jeu4328 Posted October 28, 2013 Author Posted October 28, 2013 Thank you for your response, Chris. I appreciate your feedback. :) I've decided to leave the program 'as is' for now. I wasn't thinking about the fact that when a purchase is made, an address is needed in association with the credit card. I appreciate your taking the time to help me. Have a great week! Jewell
Recommended Posts
Archived
This topic is now archived and is closed to further replies.