我正在使用papyal MassPay api发送付款。发送付款时,Paypal也不会返回付款状态和交易ID。获取详细信息的唯一方法是来自IPN。但我坚持使用IPN。我没有得到如何从IPN检查每笔交易及其状态。
class CreateModalService
def self.create(params={})
modal = Modal.new(params)
if modal.save
p 'came here ************'
p 'came here ************'
# Do some operations here
return true
else
return false
else
end
end