Search found 11 matches

by Kappa.yahyya
30 Sep 2021, 13:27
Forum: Laravel package
Topic: issues on assigning coupon code into an order
Replies: 3
Views: 1260

Re: issues on assigning coupon code into an order

Can i ask for some documents about how can i assign a coupon code into an order and update the prices of the order based on the values added into the voucher config? cause i dont know what u mean by providers , and there is lot of files and functions. There is a section in admin panel that Admin can...
by Kappa.yahyya
29 Sep 2021, 06:21
Forum: Laravel package
Topic: issues on assigning coupon code into an order
Replies: 3
Views: 1260

issues on assigning coupon code into an order

"php": "^7.3|^8.0", "aimeos/aimeos-laravel": "~2021.07", Hi Iam trying to assign coupon to an order , i used the code below ,but it is turning the order price into zero, also i have some other questions (because i could not find any documentation) : $setCoupon...
by Kappa.yahyya
13 Jul 2021, 14:40
Forum: Laravel package
Topic: Change return type of payment provider
Replies: 5
Views: 8123

Re: Change return type of payment provider

thanks for the solution , but look how deep the data goes . is there any better solution?
Capture3.JPG
Capture3.JPG (61.14 KiB) Viewed 7744 times
by Kappa.yahyya
09 Jul 2021, 11:43
Forum: Laravel package
Topic: Implementing JWT for Aimeos/Laravel
Replies: 1
Views: 6451

Implementing JWT for Aimeos/Laravel

Hi I wanted to implement JWT for aimeso , as you know , aimeos is using cookies on its jsonapi. So i need to remove using cookies and try to add JWT into controllers. 1- First thing is should i use Aimeos as an extension on New and fresh laravel installation or its better to use Aimeos Laravel packa...
by Kappa.yahyya
05 Jul 2021, 14:06
Forum: Help
Topic: Using jsonapi With react (Axios) gives me "CSRF token mismatch."
Replies: 3
Views: 11829

Re: Using jsonapi With react (Axios) gives me "CSRF token mismatch."

For those who face same issue, i solve it by :

1- Use 127.0.0.1 instead of "localhost" for the front-end Part.

2-in laravel config/session.php edit path to this :
'path' => '/;SameSite=None; secure',

3- change 'same_site' flag to none in that file :
'same_site' => 'none',
by Kappa.yahyya
23 Jun 2021, 13:13
Forum: Laravel package
Topic: Aimeos Laravel with Docker (Linux)
Replies: 2
Views: 8610

Re: Aimeos Laravel with Docker (Linux)

Anyone can share experiences?
by Kappa.yahyya
22 Jun 2021, 10:29
Forum: Laravel package
Topic: Change return type of payment provider
Replies: 5
Views: 8123

Re: Change return type of payment provider

Yes, we use JSON REST API .
ps : because stripe Reactjs library needs a key (secret key) that returns from a request in Backend to stripe api , so i need to receive this key from process method in json method.
by Kappa.yahyya
21 Jun 2021, 13:07
Forum: Laravel package
Topic: updateSync Function Route Address
Replies: 18
Views: 11079

updateSync Function Route Address

Hi

 Iam working on aimeos/laravel version (on php 7.4).

 I need to verify payments on web application after SCA payment is done by client(ReactJs). So I have to call a Webservice to tell Aimeos to change the payment status .
 Aimeos has a function called updateSync on payment providers for this .
...
by Kappa.yahyya
18 Jun 2021, 10:25
Forum: Help
Topic: Using jsonapi With react (Axios) gives me "CSRF token mismatch."
Replies: 3
Views: 11829

Re: Using jsonapi With react (Axios) gives me "CSRF token mismatch."

Thank you. I could handle with axios using "withCredentials" flag https://stackoverflow.com/questions/43002444/make-axios-send-cookies-in-its-requests-automatically But as you know, working with this flag needs http allow_origin not to be wildcarded (generates CORS error) , and it only wor...
by Kappa.yahyya
18 Jun 2021, 07:57
Forum: Laravel package
Topic: Change return type of payment provider
Replies: 5
Views: 8123

Change return type of payment provider

Hi 
Iam working on aimeos/laravel version (on php 7.4) 
I’ve created an extension to handle our custom methods , and in this case working on custom payment method for Stripe paymentIntent.

 My problem is on “process” function of the payment provider , I need to return a json value ( which is return...