update pay function
This commit is contained in:
85
boilerplate-chakra-pro-main/fixtures/stripe-fixtures.json
Normal file
85
boilerplate-chakra-pro-main/fixtures/stripe-fixtures.json
Normal file
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"_meta": {
|
||||
"template_version": 0
|
||||
},
|
||||
"fixtures": [
|
||||
{
|
||||
"name": "prod_hobby",
|
||||
"path": "/v1/products",
|
||||
"method": "post",
|
||||
"params": {
|
||||
"name": "Hobby",
|
||||
"description": "Hobby product description"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "price_hobby_month",
|
||||
"path": "/v1/prices",
|
||||
"method": "post",
|
||||
"params": {
|
||||
"product": "${prod_hobby:id}",
|
||||
"currency": "usd",
|
||||
"billing_scheme": "per_unit",
|
||||
"unit_amount": 1000,
|
||||
"recurring": {
|
||||
"interval": "month",
|
||||
"interval_count": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "price_hobby_year",
|
||||
"path": "/v1/prices",
|
||||
"method": "post",
|
||||
"params": {
|
||||
"product": "${prod_hobby:id}",
|
||||
"currency": "usd",
|
||||
"billing_scheme": "per_unit",
|
||||
"unit_amount": 10000,
|
||||
"recurring": {
|
||||
"interval": "year",
|
||||
"interval_count": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "prod_freelancer",
|
||||
"path": "/v1/products",
|
||||
"method": "post",
|
||||
"params": {
|
||||
"name": "Freelancer",
|
||||
"description": "Freelancer product description"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "price_freelancer_month",
|
||||
"path": "/v1/prices",
|
||||
"method": "post",
|
||||
"params": {
|
||||
"product": "${prod_freelancer:id}",
|
||||
"currency": "usd",
|
||||
"billing_scheme": "per_unit",
|
||||
"unit_amount": 2000,
|
||||
"recurring": {
|
||||
"interval": "month",
|
||||
"interval_count": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "price_freelancer_year",
|
||||
"path": "/v1/prices",
|
||||
"method": "post",
|
||||
"params": {
|
||||
"product": "${prod_freelancer:id}",
|
||||
"currency": "usd",
|
||||
"billing_scheme": "per_unit",
|
||||
"unit_amount": 20000,
|
||||
"recurring": {
|
||||
"interval": "year",
|
||||
"interval_count": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user