awslabs / aws-api-gateway-developer-portal

A Serverless Developer Portal for easily publishing and cataloging APIs
Apache License 2.0
924 stars 399 forks source link

marketplace calls are not being triggered when user redirected to developer portal #522

Open gantakoradevaraju opened 2 years ago

gantakoradevaraju commented 2 years ago

We have uncommented all the code related to marketplace, but /marketplace-confirm,/marketplace-subscriptions endpoints are not triggered when we redirect from marketplace screens to developer portal. We couldn't call resolveCustomer() method for x-amzn-marketplace-token validation. Please suggest how to do this token validation on redirection from marketplace screens.

ghost commented 2 years ago

The code and related SAM template configuration is commented out because it's known to contain bugs, and we aren't even sure what all bugs are hiding in it. We do not currently have concrete plans to revisit it, so you're on your own if you want to try to make it work. (I commented it out about a year ago because it was also causing instabilities elsewhere and likely never worked, but the code's predated my time with the project.)

If you would like to make it a thing, please feel free to file a pull request and we'd gladly consider merging it.