Skip to content

Commit

Permalink
refactor: testcases for stripe, sofort and ideal pm
Browse files Browse the repository at this point in the history
  • Loading branch information
swangi-kumari committed May 10, 2024
1 parent 2d06023 commit 8432e66
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,8 @@
"payment_method_data": {
"bank_redirect": {
"ideal": {
"billing_details": {
"billing_name": "John Doe"
},
"bank_name": "ing",
"preferred_language": "en",
"country": "DE"
"preferred_language": "en"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,8 @@
"payment_method_data": {
"bank_redirect": {
"sofort": {
"billing_details": {
"billing_name": "John Doe"
},
"bank_name": "hypo_noe_lb_fur_niederosterreich_u_wien",
"preferred_language": "en",
"country": "DE"
"preferred_language": "en"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions postman/collection-json/stripe.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -14716,7 +14716,7 @@
"language": "json"
}
},
"raw": "{\"payment_method\":\"bank_redirect\",\"payment_method_type\":\"ideal\",\"payment_method_data\":{\"bank_redirect\":{\"ideal\":{\"billing_details\":{\"billing_name\":\"John Doe\"},\"bank_name\":\"ing\",\"preferred_language\":\"en\",\"country\":\"DE\"}}},\"client_secret\":\"{{client_secret}}\"}"
"raw": "{\"payment_method\":\"bank_redirect\",\"payment_method_type\":\"ideal\",\"payment_method_data\":{\"bank_redirect\":{\"ideal\":{\"bank_name\":\"ing\",\"preferred_language\":\"en\"}}},\"client_secret\":\"{{client_secret}}\"}"
},
"url": {
"raw": "{{baseUrl}}/payments/:id/confirm",
Expand Down Expand Up @@ -15146,7 +15146,7 @@
"language": "json"
}
},
"raw": "{\"payment_method\":\"bank_redirect\",\"payment_method_type\":\"sofort\",\"payment_method_data\":{\"bank_redirect\":{\"sofort\":{\"billing_details\":{\"billing_name\":\"John Doe\"},\"bank_name\":\"hypo_noe_lb_fur_niederosterreich_u_wien\",\"preferred_language\":\"en\",\"country\":\"DE\"}}},\"client_secret\":\"{{client_secret}}\"}"
"raw": "{\"payment_method\":\"bank_redirect\",\"payment_method_type\":\"sofort\",\"payment_method_data\":{\"bank_redirect\":{\"sofort\":{\"bank_name\":\"hypo_noe_lb_fur_niederosterreich_u_wien\",\"preferred_language\":\"en\"}}},\"client_secret\":\"{{client_secret}}\"}"
},
"url": {
"raw": "{{baseUrl}}/payments/:id/confirm",
Expand Down

0 comments on commit 8432e66

Please sign in to comment.