[model] add purchaseOperation field to payment details.
bug fixes after playing in sandbox.