Skip to content

Instantly share code, notes, and snippets.

@carlwoodward
Created August 18, 2009 09:53
Show Gist options
  • Save carlwoodward/169653 to your computer and use it in GitHub Desktop.
Save carlwoodward/169653 to your computer and use it in GitHub Desktop.
def create_recurring_billing_unless_already_billed
unless ShopifyAPI::RecurringApplicationCharge.current
ShopifyAPI::RecurringApplicationCharge.create :name => 'Standard', :price => 10.0, :return_url => 'http://werecommendapp.com/'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment