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 479

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?

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,029 Moderator on at
    RE: Need help updating legacy code

    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

  • jdrco Profile Picture
    479 on at
    RE: Need help updating legacy code

    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,029 Moderator on at
    RE: Need help updating legacy code

    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

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans