Fix IPN API when working with charge.captured/succeeded

Merged mattwire requested to merge ipnapifix into 6.3.1

@jamie Be great if you are able to test this?

Merge request reports