removedInput schema / properties / action
Removed value: -{
- "description": "Default complete",
- "enum": [
- "complete",
- "get",
- "cancel"
- ],
- "type": "string"
-}
addedInput schema / properties / buyer
Added value: +{
+ "anyOf": [
+ {
+ "properties": {
+ "email": {
+ "anyOf": [
+ {
+ "format": "email",
+ "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "first_name": {
+ "anyOf": [
+ {
+ "maxLength": 80,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "last_name": {
+ "anyOf": [
+ {
+ "maxLength": 80,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "anyOf": [
+ {
+ "maxLength": 160,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "phone_number": {
+ "anyOf": [
+ {
+ "maxLength": 20,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+}
addedInput schema / properties / payment_data
Added value: +{
+ "properties": {
+ "billing_address": {
+ "anyOf": [
+ {
+ "properties": {
+ "city": {
+ "type": "string"
+ },
+ "country": {
+ "type": "string"
+ },
+ "line_one": {
+ "type": "string"
+ },
+ "line_two": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "postal_code": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "provider": {
+ "description": "'stripe'",
+ "maxLength": 40,
+ "type": "string"
+ },
+ "token": {
+ "maxLength": 400,
+ "minLength": 4,
+ "type": "string"
+ }
+ },
+ "required": [
+ "token"
+ ],
+ "type": "object"
+}
removedInput schema / properties / payment_token
Removed value: -{
- "description": "Stripe shared payment token (required for complete)",
- "maxLength": 200,
- "minLength": 4,
- "type": "string"
-}
changedInput schema / required
Previous value: -[
- "checkout_session_id"
-]New value: +[
+ "checkout_session_id",
+ "payment_data"
+]