I want to send this info to stripe can it be easily activated?
“source”: {
“id”: “card_18mK09FzKb8aMux1MnPxQaP9”,
“object”: “card”,
“address_city”: null,
“address_country”: null,
“address_line1”: null,
“address_line1_check”: null,
“address_line2”: null,
“address_state”: null,
“address_zip”: null,
“address_zip_check”: null,
“brand”: “MasterCard”,
“country”: “US”,
“customer”: “cus_94SwL3Nnef6QCe”,
“cvc_check”: null,
“dynamic_last4”: null,
“exp_month”: 7,
“exp_year”: 2019,
“fingerprint”: “V46lf4kguLuHZ1eo”,
“funding”: “credit”,
“last4”: “4444”,
“metadata”: {},
“name”: null,
“tokenization_method”: null
}
Provide the exact link to the Stripe API specification related to your code block.
Sorry i think i might not be looking for this at all, i am trying to make it send the postcode for cv2 validation.
Provide the exact link to the Stripe API specification related to «postcode for cv2 validation ».
OK, now I understand you.
To implement additional anti-fraud verifications, I need to pass the customer’s billing address to the Stripe.js createToken()
API method.
The method is named stripe.createToken()
in Stripe.js v3 and card.createToken()
in Stripe.js v2.
Of course, I will implement it in one of the next extension’s releases.
I have implemented it in the 1.12.0 version:
address_city: a.city // 2017-08-31 «billing address city», optional.
,address_country: a.countryId // 2017-08-31 «billing address country», optional.
,address_line1: a.street[0] // 2017-08-31 «billing address line 1», optional.
,address_line2: a.street[1] // 2017-08-31 «billing address line 2», optional.
,address_state: a.region // 2017-08-31 «billing address state», optional.
,address_zip: a.postcode // 2017-08-31 «billing ZIP code as a string (e.g., "94301")», optional.
,cvc: this.creditCardVerificationNumber()
,exp_month: this.creditCardExpMonth()
,exp_year: this.creditCardExpYear()
,name: this.cardholder() // 2017-08-31 «cardholder name», optional.
,number: this.creditCardNumber()