lib/razorpay/utility.rb in razorpay-2.2.0 vs lib/razorpay/utility.rb in razorpay-2.3.0

- old
+ new

@@ -3,10 +3,10 @@ module Razorpay # Helper functions are defined here class Utility def self.verify_payment_signature(attributes) signature = attributes[:razorpay_signature] - order_id = attributes[:razorpay_order_id] + order_id = attributes[:razorpay_order_id] || attributes[:razorpay_subscription_id] payment_id = attributes[:razorpay_payment_id] data = [order_id, payment_id].join '|' secret = Razorpay.auth[:password]