Sha256: ea3495f566cb0719209aafd36ccc515859833d6a89ee4f1eaee95e48aae16d2b
Contents?: true
Size: 396 Bytes
Versions: 19
Compression:
Stored size: 396 Bytes
Contents
module Alipay module Wap module Notify def self.verify?(params, options = {}) params = Utils.stringify_keys(params) pid = options[:pid] || Alipay.pid notify_id = params['notify_data'].scan(/\<notify_id\>(.*)\<\/notify_id\>/).flatten.first Sign.verify?(params, options) && ::Alipay::Notify.verify_notify_id?(pid, notify_id) end end end end
Version data entries
19 entries across 19 versions & 2 rubygems