Search found 9 matches

by Kappa.yahyya
13 Jul 2021, 14:40
Forum: Laravel package
Topic: Change return type of payment provider
Replies: 5
Views: 6848

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 6469 times
by Kappa.yahyya
09 Jul 2021, 11:43
Forum: Laravel package
Topic: Implementing JWT for Aimeos/Laravel
Replies: 1
Views: 5895

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: 7757

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: 3
Views: 6965

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: 6848

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: 5
Views: 5908

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: 7757

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: 6848

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...
by Kappa.yahyya
14 Jun 2021, 06:18
Forum: Help
Topic: Using jsonapi With react (Axios) gives me "CSRF token mismatch."
Replies: 3
Views: 7757

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

Hi, Our team is using Laravel/Aimeos for ecommerce solution. When using Postman APIs, everything is working fine, but when it goes to React/Axios call, I receive 419 error code (CSRF token mismatch.) .my Aimeos is running online but React is on my localhost. I tried the following: 1 - added "/j...