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

Announcements

News and Announcements icon
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 485

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
    IB-29041624-0 Profile Picture
    1,191 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
    485 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
    IB-29041624-0 Profile Picture
    1,191 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 572 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 331 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 330 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans