App FAQ: Storefront SaaS connection from app-script or client browser #3315
-
What kind of question do you have about the app system?App Scripting Advanced Describe your question or feedbackHello,
OR
Why:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
We recently added a feature to the app system that makes exactly that easier. Refer to the official docs here. With that, you'll get a JWT token with all the shop specific (e.g. shop ID) and also context specific (e.g. sales channel id, etc) information. This JWT token allows securely communicating from the client directly to your SaaS backend. Regarding GDPR and data privacy, you should use the |
Beta Was this translation helpful? Give feedback.
-
He., I don't know if it's a "bug" or a "feature". Every time something changes at the checkout (e.g. PaymentMethod) Since it contains the payment and shipping method, we are forced to do it. This should be added to the documentation. |
Beta Was this translation helpful? Give feedback.
We recently added a feature to the app system that makes exactly that easier. Refer to the official docs here. With that, you'll get a JWT token with all the shop specific (e.g. shop ID) and also context specific (e.g. sales channel id, etc) information. This JWT token allows securely communicating from the client directly to your SaaS backend.
Regarding GDPR and data privacy, you should use the
privacyPolicyExtensions
element in the meta-section of your Apps manifest to describe exactly what the merchant has to add to their privacy policy. Refer to the docs for an example.