strife's devLog

Category: Programming

Paypal-logoUsing PayPal WPP (Express Checkout) with Django

A couple days ago I had to deal with PayPal WPP (Express Checkout) for some application and I found the module in the GitHub: https://github.com/dcramer/django-paypal.

Which works great but it was very hard to find how to set up the PayPal Payment Pro with Express Checkout method and fill customer forms in PayPal. I decided to find how to deal with it and I figured out how to do that.

After all developing stuff related to install this module to your django aplication you need to know how to send requests to PayPal using this method. And here’s the answer:
Read the full article »

Share

android-wallpaperAndroid: How to Send Request (POST) to the Server (Full Application)

Hi,

Like I said before I am new to Android and I don’t hide it but I’ve started to like it so far. And now I’d like to show you an application which enables sending data to the servers remotely. Before I give you the code, just look at the screens how it looks.
Read the full article »

Share

prestashop-logoHow to Add a New Custom Field in Prestashop

I’ve figured out how to add new field to database using Prestashop (1.4.3, but I think for the newer versions would be the same). This solution gives you new field in database and you will be able to edit / save data to this field in your admin panel, for my example I needed a field which was called “number of photos”. Below you can see how it works.
Read the full article »

Share

android-wallpaperBeginning Working With Android

Hi there,

A couple days ago I decided to improve my programming skills by learning something new. And that thing is android. It’s a very powerful tool and I can say it for using it only for couple days. For me as a programmer beginning was easy. All variables, classes, constructions etc. are almost the same, of course Java is more powerful than PHP is but even though I can handle it : )

In next note I will put some code which may be interested for you. See you!

Share

prestashop-logoPrestashop, Paypal Module Message Limit 1600

When you have a problem with paypal module in Prestashop. I mean that kind of problem when user come back from paypal.com:

1
Fatal error (Message => message Length 1600)

You should edit Message.php (in classes) and change the limit of field. It’s line 54 and it should be look that:

1
2
// line 54
protected    $fieldsSize = array('message' => 16000); // just change to 16000

And then you won’t have any problem with limits when user come back to your internet store.

Edited (03/03/2012)
I’ve noticed there are a lot of people who are finding this information. In addition I want to tell this problem shouldn’t appear in the new version of paypal module.

Share