Enable Stripe Link
This commit is contained in:
parent
74513014d6
commit
7bde19fc5b
@ -28,6 +28,7 @@ function getRateAndValidateAddress() {
|
|||||||
$("input[name=from_city]").val(resp.fromaddress.city);
|
$("input[name=from_city]").val(resp.fromaddress.city);
|
||||||
$("input[name=from_state]").val(resp.fromaddress.state);
|
$("input[name=from_state]").val(resp.fromaddress.state);
|
||||||
$("input[name=from_zip]").val(resp.fromaddress.zip);
|
$("input[name=from_zip]").val(resp.fromaddress.zip);
|
||||||
|
$("input[name=from_email]").val(resp.fromaddress.email);
|
||||||
|
|
||||||
$("#toaddr").html(
|
$("#toaddr").html(
|
||||||
resp.address.name
|
resp.address.name
|
||||||
|
@ -154,7 +154,8 @@ try {
|
|||||||
"street2" => $fromaddress->street2 ?? "",
|
"street2" => $fromaddress->street2 ?? "",
|
||||||
"city" => $fromaddress->city ?? "",
|
"city" => $fromaddress->city ?? "",
|
||||||
"state" => $fromaddress->state ?? "",
|
"state" => $fromaddress->state ?? "",
|
||||||
"zip" => $fromaddress->zip ?? ""
|
"zip" => $fromaddress->zip ?? "",
|
||||||
|
"email" => $fromaddress->email ?? ""
|
||||||
]]
|
]]
|
||||||
));
|
));
|
||||||
} catch (Exception $ex) {
|
} catch (Exception $ex) {
|
||||||
|
@ -31,7 +31,7 @@ try {
|
|||||||
'payment_method' => $_REQUEST["stripeid"],
|
'payment_method' => $_REQUEST["stripeid"],
|
||||||
'description' => "CertifiedFromHome.com",
|
'description' => "CertifiedFromHome.com",
|
||||||
'statement_descriptor' => "CrtfdFrmHome",
|
'statement_descriptor' => "CrtfdFrmHome",
|
||||||
'payment_method_types' => ['card'],
|
'payment_method_types' => ['card', 'link'],
|
||||||
'capture_method' => 'manual',
|
'capture_method' => 'manual',
|
||||||
'confirm' => true
|
'confirm' => true
|
||||||
]);
|
]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user