lib/billboard-api/order.rb in simplificator-billboard-api-0.7.0 vs lib/billboard-api/order.rb in simplificator-billboard-api-0.7.1
- old
+ new
@@ -10,10 +10,10 @@
#
def paypal_url(options = {})
values = {
:business => BillboardApi::Config.instance.paypal_receiver_email(options[:paypal_receiver_email]),
:return => BillboardApi::Config.instance.return_after_payment_url(options[:return_after_payment_url]),
- :invoice => self.id,
+ :invoice => "#{self.business_id}_#{self.id}",
:cmd => '_cart',
:upload => 1,
:currency_code => self.currency,
}
values[:notify_url] = BillboardApi::Config.instance.paypal_notify_url(options[:paypal_notify_url])
\ No newline at end of file