? orus casino? bodog? ruleta? luckia? betano? sportium? spin casino? stakes? 3 reyes? 888? lottoland? coolbet? 777 casino? gana777? betfair? bwin? yak casino? ivy casino? oddschecker? red casino? netbet? william hill? vip casino? rey casino? marathonbet? dafabet? sol casino? 1bet? winland? bet777? parimatch? 18bet? 888casino? campobet? mostbet? ganabet? rushbet? betcris? betsson? lucky? novibet? winner? winpot? betmaster? betmexico? cancun? playcity? strendus? pokerstars? codere? caliente? fun88? bbrbet? 1win? 10bet? betway? pin up? spinbet? 7cslot? pickwin? spin bet? mr fortune? w88? pragmatic? gamdom? crasher? jojobet? betmex? bcasino? foliatti? winner mx? bets 10? big bola? bet master? inbet? 7slots? lucky day? m777? mexplay? luckydays? bet caliente? 1x? plinko

Forum


HomeHomePremiumPremiumDevelopmentDevelopmentStripe API reference not found in razor moduleStripe API reference not found in razor module
Previous
 
Next
New Post
1/27/2016 10:01 AM
 
Hello,

I have been building a lot of mini applications using the razor module.  One of the thing I wanted to do is use the stripe API within the razor module.  But I have spent 2 days trying to figure how to add the API to DNN so i can reference it in the razor module.  

 

this is the error: he type or namespace name 'Stripe' could not be found


this is the website with the API https://github.com/jaymedavis/stripe.net

it can't use nuget because the site is already on a web host.  Or can I?  I am not sure what method I can use to get the stripe.net API on DNN!

Please point me in the right direction if you can. 
 
New Post
1/28/2016 4:34 AM
 
Hi Andy,

We use the same Stripe.net here on DNNHero.com but we do it via a regular standard DNN module where we can use the nuget pack.

In your case I would recommend (not sure if it will work) that you copy the Stripe.net.dll file inside the bin folder of the site and then you will want to import the namespace 

@using Stripe

You may find more details about importing into razor at http://stackoverflow.com/questions/32...

Best regards,
Aderson

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentStripe API reference not found in razor moduleStripe API reference not found in razor module



Try FREE
30 days money back guaranteed