app/models/subscription_fu/transaction.rb in subscription_fu-0.2.0 vs app/models/subscription_fu/transaction.rb in subscription_fu-0.2.1
- old
+ new
@@ -102,10 +102,10 @@
:description => sub_human_description,
:billing => {
:period => :Month,
:frequency => 1,
:amount => sub_plan.price,
- :tax => sub_plan.price_tax,
+ :tax_amount => sub_plan.price_tax,
:currency_code => sub_plan.currency } )
response = SubscriptionFu::Paypal.express_request.subscribe!(identifier, profile)
subscription.update_attributes!(:paypal_profile_id => response.recurring.identifier, :activated_at => Time.now)
complete_activation
end