Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiple language support for Standard & Advanced Integration #152

Merged
merged 6 commits into from
Sep 17, 2024

Conversation

amsourav
Copy link
Contributor

feat: add backend and frontend implementations
feat: update README.md
feat: added code for standard integration
chore: delete full stack code and update package names

Sourav Sarkar and others added 4 commits September 5, 2024 18:25
feat: add backend and frontend implementations
feat: update README.md
feat: added code for standard integration
chore: delete full stack code and update package names
…new-lanugage

Feature/devcontainer support for new lanugage
using Microsoft.Extensions.Hosting;
using Newtonsoft.Json;

namespace PayPalAdvancedIntegration

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific version of C#/.NET you're targeting here? I think it's probably more common to use a simple namespace declaration namespace PayPalAdvancedIntegration; instead of enclosing the whole file in curly braces.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are targeting v8.0. I'll remove the curly braces

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

@wickerpopstar wickerpopstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.NET looks good.

@@ -0,0 +1,14 @@
# How to Contribute
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't look like this example uses Slim, was this pulled over from a previous/different example? We can probably just remove the whole thing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we were using Slim earlier and we had found some issues with it. I'll remove this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleted this file

@@ -0,0 +1,18 @@
version: '3.7'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see that other languages have a docker/compose file. Is this needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I'll remove it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@@ -0,0 +1,14 @@
# How to Contribute
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as advanced example, do we need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explained earlier. I'll remove this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@@ -0,0 +1,18 @@
version: '3.7'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as advanced example, do we need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll remove it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

- Rename backend, frontend folders to server, client respectively
- Remove SlimPHP contribution guidelines
- Remove docker-compose.yml from php
- Use file scoped namespace for dotnet
Copy link
Contributor

@rekhaabaidipati rekhaabaidipati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing my feedback. LGTM for dev container changes and overall folder structure.

Copy link
Contributor

@rekhaabaidipati rekhaabaidipati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gregjopa gregjopa merged commit f61c97a into paypal-examples:main Sep 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants