Skip to content

Conversation

@gregjopa
Copy link
Contributor

This PR makes the following changes to the standard-integration example:

  1. Updates the api paths to match the docs(/my-server/create-paypal-order and /my-server/capture-paypal-order)
  2. Updates the fetch calls to set the content-type as application/json
  3. Adds the built in express.json() middleware to parse the post body.

@gregjopa gregjopa requested a review from westeezy February 16, 2023 18:48
@gregjopa gregjopa merged commit 4ce5e89 into main Feb 16, 2023
@gregjopa gregjopa deleted the match-public-docs branch February 16, 2023 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants