https://github.com/Shopify/hosted-payment-sim
https://github.com/Shopify/hosted-payment-sim
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/Shopify/hosted-payment-sim
- Owner: Shopify
- License: mit
- Archived: true
- Created: 2014-03-21T17:20:25.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-01-22T19:36:15.000Z (about 6 years ago)
- Last Synced: 2025-03-25T04:54:32.849Z (22 days ago)
- Language: HTML
- Size: 385 KB
- Stars: 75
- Watchers: 310
- Forks: 36
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-shopify - Hosted Payment Simulator - Example of using the [Hosted Payment SDK](https://shopify.dev/apps/payments/hosted-payment-sdk). (Examples / Ruby Examples)
- shopify-awesome-agency - Hosted Payment Simulator - 使用 [Hosted Payment SDK](https://shopify.dev/apps/payments/hosted-payment-sdk) 的示例。 (示例 / Ruby 示例)
- shopify-awesome-agency - Hosted Payment Simulator - 使用 [Hosted Payment SDK](https://shopify.dev/apps/payments/hosted-payment-sdk) 的示例。 (示例 / Ruby 示例)
README
Hosted Payment Simulator
===========================This tool will allow you to simulate the redirects and callbacks needed to build an integration using the [Hosted Payment SDK](https://docs.shopify.com/hosted-payment-sdk). It also serves as a [calculator](https://offsite-gateway-sim.shopifycloud.com/calculator) that can be used to verify your signature algorithm.
To use the simulator please familiarize yourself with the [Hosted Payment SDK](https://docs.shopify.com/hosted-payment-sdk) documentation and then:
1. Add a payment gateway with "Redirect URL" of `https://offsite-gateway-sim.shopifycloud.com/`.
2. Add your gateway to a shop (see "[Creating a development store](https://help.shopify.com/api/sdks/hosted-payment-sdk/getting-started#create-a-development-store)" if you don't have one) and activate it using these credentials:
* **Login** - any non-empty value
* **Password** - iU44RWxeik3. Complete a test purchase on your shop (you may need to add a product first). At the end of checkout you will be redirected to the sceen below.

The various buttons will allow you to simulate the callbacks and redirects required in your integration.
Please email [email protected] if you have any questions.