cco - paypal fix for apps

In an app, no 'parentid' is specified and the lack of it was causing a
JS error.