Fixes for the pay pal button when resource is deleted