Jump to content

Fatal error with Express Checkout


Recommended Posts

Hello. I write because I am developing www.TuPremium.cl, which sells only digital products (which are sent by email) so you do not need shipping address or billing address.

 

To do this, I enter the authethification.tpl and delete fields not served me. Obviously there are those that delete fields that are mandatory, so I went to AuthController.php AdressController.php delete some lines. Now, no error message appears if anything is missing.

 

When you press the Continue button, it gives Fatal error (http://tupremium.cl/autenticacion?back=order.php?step=1)

 

I have attached the files AdressController and AuthController, if anyone can tell me what is going wrong.

 

 

Thank you very much for your help.

Link to comment
Share on other sites

The required fields validation are in many places, not just in AdressController and AuthController.

It also happens in other places like in order validation.

 

The validation is based on class required fields definition of related classes. To remove those as required fields

you need to modify related classes.

 

Example

 

 protected  $fieldsRequired = array('lastname', 'passwd', 'firstname', 'email');

 

In your scenario, you may need to modify following classes

 

Customer

Address

 

Hope this helps

Link to comment
Share on other sites

×
×
  • Create New...