Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
How do I subscribe "retail0" user to my marketplace product in dev?

I am following the Marketplace Guide.
I have installed the q2-marketplace module, run create_marketplace_product, and now my SSO extension is inheriting from Q2MarketplaceMixin.

When I sign in as the "retail0" user and run my SSO extension from the Services menu, I now get the following error:

"Your subscription is not valid for this product. Please contact your administrator."

which would seem to be expected in the absence of a subscription being in place for "retail0".

(I also see the following in the log: "Failed to find value for customer key. Verify that Marketplace Store is installed and configured correctly."
I'm not sure whether that is a normal artifact of not finding a subscription, or whether I have failed to do some other required configuration to do Marketplace dev/testing beyond what is mentioned in the Marketplace Guide.)

Now, I want to subscribe the user "retail0" to my marketplace product.

How do I do that?

I thought I could use "q2 markeplace invoke_subscribe" but it seems to use some canned test payload.

Votes Newest

Answers


We currently do not have a way to run the purchase/subscription workflow in sandbox environments.

However, that should not prevent you from accessing your extension. It seems like you've encounted a bug in the library code. If you could submit a bug ticket through the developer portal, we would appreciate it.

As a temporary workaround, you can run the following command in your dev environment. This will disable all subscription checks in your sandbox.

q2 db add_vendor_configs [extension_name] _overrides '{ "ignore_subscription": true }' String

Posted 3 years ago
Chase Dorsey
0 × 1 Administrator