how to add payment from credit for customers?

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Ahmad
Posts: 72
Joined: 05 Jul 2017, 15:19

how to add payment from credit for customers?

Post by Ahmad » 04 Jul 2020, 08:28

hi, i use aimeos laravel version 2020.04
i want to add a payment way for some customers to pay the order from credit wallet
i want to able charge the customer wallet from admin or customer can charge the wallet from profile.
after that when customer goes to checkout the basket can choose Pay From Credit in the payment step if the basket payment price is lower than credit.
how can i implement this solution in my aimeos laravel shop?

Ahmad
Posts: 72
Joined: 05 Jul 2017, 15:19

Re: how to add payment from credit for customers?

Post by Ahmad » 06 Jul 2020, 07:50

i want to pay from credit not from online payment gateway,
@aimeos please read my request and help me.

User avatar
aimeos
Administrator
Posts: 7885
Joined: 01 Jan 1970, 00:00

Re: how to add payment from credit for customers?

Post by aimeos » 07 Jul 2020, 17:32

You should implement a payment service provider to that accesses the credit wallet of the customer. The process() method should substract the credits from the wallet: https://aimeos.org/docs/Developers/Library/Service
Take an existing payment service provider as example.
How the credits are put into the wallet of the customers needs to be done somewhere else.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply