Replies: 2 comments 10 replies
-
Hi @sbkjarmul , If you are looking for a way for order processing without account, I think guest checkout is that feature. It's all about guest checkout in API. First try to implement guest checkout in API, and the rest is simple, remove auth from front side. |
Beta Was this translation helpful? Give feedback.
9 replies
-
Thanks for answer I will try it tomorrow. As I understand I have to update
rest api module itself?
Could you tell me how to set attributes (color and size) to product in
cart? I’m trying to pass it through id_products_attribute but I don’t have
idea how this param should look like.
…On Fri, 2 Sep 2022 at 00:56, Sam Berry ***@***.***> wrote:
about the payment methods, you need to implement the logic, you can see
the current APIs for bankwire and pay by check to get hint, the important
thing is where you should place the validateOrder method. The rest is
gateway's logic.
and about the address creation yes, you should get this error, as the
address endpoint is protected. First go to address controller, and add
public $guestAllowed = true; an instance variable, and try to extend the
class from AbstractRESTController not AbstractAuthRESTController, same
thing for other controllers that you may get error for auth.
Or try something like this, I pushed some code on this branch:
https://github.com/binshops/prestashop-rest/tree/feat/guest-address
—
Reply to this email directly, view it on GitHub
<#45 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI4MUBZEV22YK67P7YQQUEDV4EYDVANCNFSM57ULHMRQ>
.
You are receiving this because you were mentioned.Message ID:
<vuestorefront-community/prestashop/repo-discussions/45/comments/3531235@
github.com>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I would like to process order without account using VSF + prestashop. I got stuck.
I can't find order object structure. I see there is solution for user with accounts implemented.
How to create order object based on cart, shipping methods and payment method and how can I send it via make() function to accomplish order?
I hope I will find help here.
Beta Was this translation helpful? Give feedback.
All reactions