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