python - How to call square API to create card or how to charge with card info?
Get the solution ↓↓↓How to save customer card info - Squareup API
Postman API available for create customer card which is not helping me to charge with card How would i save card info also
"card_nonce": "YOUR_CARD_NONCE",
"billing_address": {
"address_line_1": "500 Electric Ave",
"address_line_2": "Suite 600",
"locality": "New York",
"administrative_district_level_1": "NY",
"postal_code": "10003",
"country": "US"
},
"cardholder_name": "Amelia Earhart",
"verification_token": "TOKEN"
}
> Link Used to create : https://{{host}}/v2/customers/{{customer_id}}/cards
Answer
Solution:
Got My Solution In git repo, this repo help i am able to charge card directly
https://github.com/square/connect-api-examples/tree/master/templates/web-ui/payment-form/basic
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: composer detected issues in your platform: your composer dependencies require a php version ">= 7.3.0".
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.