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

Integrating Urway-Payment into Aimeos Laravel Package #497

Closed
fh32000 opened this issue Aug 20, 2023 · 2 comments
Closed

Integrating Urway-Payment into Aimeos Laravel Package #497

fh32000 opened this issue Aug 20, 2023 · 2 comments

Comments

@fh32000
Copy link

fh32000 commented Aug 20, 2023

Issue Title: Integrating Urway-Payment into Aimeos Laravel Package

Issue Description:

Background:
I am currently working with the Aimeos Laravel package for an eCommerce project. I need to integrate the Urway-Payment gateway as a payment option, but it seems that Aimeos does not provide a built-in way to add Urway-Payment as a payment method.

Issue:
I'm looking for guidance on how to integrate the Urway-Payment gateway into the Aimeos Laravel package. I've referred to the documentation for both Aimeos and Urway-Payment, but I'm unsure how to proceed with the integration process.

Proposed Solution:
I believe that creating a custom payment provider for Urway-Payment within Aimeos might be the way to go. Here's a proposed approach based on my research:

Create a Custom Payment Provider: Develop a custom payment provider within Aimeos that extends existing classes. This provider should handle the interaction with Urway-Payment.

Configuration: Configure the Urway-Payment credentials (merchant ID, access code, API key, return URL) either in the Laravel configuration files or environment variables.

Payment Process: Implement methods in the custom provider to initiate the payment process, redirect users to the Urway-Payment gateway, and handle the payment response.

Update Order Status: Based on the payment response, update the order status within the Aimeos system, marking orders as paid or handling failed payments accordingly.

Views and Templates: Modify the Aimeos frontend components to display the new payment option and provide a seamless user experience.

Testing: Thoroughly test the integration in a testing environment to ensure its correctness before deploying to a live environment.

Expected Outcome:
I hope to receive guidance or code examples on how to successfully integrate Urway-Payment into the Aimeos Laravel package as a payment option. This will greatly benefit developers like me who are using Aimeos for their eCommerce projects and need to work with Urway-Payment.

Additional Information:

Aimeos Laravel Package: Link to Aimeos Laravel GitHub
Urway-Payment SDK: Link to Urway-Payment GitHub
I am open to suggestions, guidance, and code examples from the community to help achieve this integration effectively. Your assistance is greatly appreciated.

Thank you

@fh32000 fh32000 changed the title Urway Integrating Urway-Payment into Aimeos Laravel Package Aug 20, 2023
@fh32000
Copy link
Author

fh32000 commented Aug 21, 2023

Hello @Icymars, @xerc, and @krsriq,

I hope this message finds you well. I wanted to bring to your attention an issue that I've come across in the Aimeos Laravel repository. The issue is named "aimeos/aimeos-laravel/". I've posted this issue on GitHub, but unfortunately, I haven't received any responses from the development team.

I kindly request your help in addressing this issue. It would be greatly appreciated if you could take some time to review the problem and provide guidance or assistance in resolving it. Your expertise in this area would be invaluable.

Thank you in advance for your time and consideration. I'm looking forward to any insights or feedback you might have.

Best regards,
[@fh32000 ]

@aimeos
Copy link
Owner

aimeos commented Aug 21, 2023

You can create a payment service provider like documented here:
https://aimeos.org/docs/latest/providers/service/

If you install the aimeos/ai-payments package, you can also create an Omnipay driver (preferred):
https://omnipay.thephpleague.com/

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

No branches or pull requests

2 participants