web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Need help updating legacy code

(0) ShareShare
ReportReport
Posted on by 481

I have been referring to this video for Stripe integration. (20) Self Monetization Dynamics 365 Business Central Apps - YouTube

I got a hold of the codebase for the app they use but it contains errors already.

0410.pngpastedimage1659645876661v1.png

How would I fix these three errors?

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    This code is apparently written for an older version of BC than the one you are using.

    And some functionality in the base application have changes since this code was produced. The simple answer to your question is that you need to work through error for error to correct them and find out the way you need to handle it in the current version.

    Here are some hints:

    docs.microsoft.com/.../transition-from-codeunit1

    www.hougaard.com/.../

    But why not look at any other finished solution for payment with stripe like f.ex. this one ?

    appsource.microsoft.com/.../pubid.chasesoftware1583153119945|aid.stripe_payments_standard|pappid.b241d58e-fd3d-433a-97d2-de5c2d3a76eb

  • jdrco Profile Picture
    481 on at

    I am trying to implement a trial/subscription feature for my own app extension that is published on App Source already. I am not sure if the extension you sent will help me implement that logic on my own extension.

    Do you know of any other resources on integrating Stripe with an AL project?

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    Sorry, i don't know of any projects like that.

    But the stripe API looks very well documented. So maybe you should just drop the old code that you found and create a new one from scratch using the latest that AL has to offer.

    https://stripe.com/docs/api

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans