You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActiveMerchant::Billing::Integrations::Alipay::Notification
# Take the posted data and move the relevant data into a hash
def parse(post)
@raw = post
for line in post.split('&')
key, value = line.scan( %r{^(\w+)=(.)$} ).flatten params[key] = value
end
end
ActiveMerchant::Billing::Integrations::Alipay::Notification
# Take the posted data and move the relevant data into a hash
def parse(post)
@raw = post
for line in post.split('&')
key, value = line.scan( %r{^(\w+)=(.)$} ).flatten
params[key] = value
end
end
应该改为跟 activemerchant的Notification一样。
*params[key] = CGI.unescape(value || '') *
对比过 activemerchant 的Notification.parse 发现其实Alipay::Notification.parse 完全可以删除掉。
The text was updated successfully, but these errors were encountered: