Professional Documents
Culture Documents
SQL Queries
SQL Queries
pwd: Sql2000*
Database
VoyagerSanbox1!
DB: SandboxVoyagerWellness
User: VoyagerWellnessSandboxDBUser
Pwd: Wellyx2050*
Stripe
voyagersandbox@gmail.com StripeSandbox1! Plateform
Test login Credentials
https://stripe.com/docs/testing#cards (edited)
/////SaveCustomerPaymentGateway
USE [WellyxSandbox]
GO
/****** Object: StoredProcedure [dbo].[SaveCustomerPaymentGateway] Script Date:
01/06/2020 10:48:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
FROM dbo.CustomerPaymentGateway
WHERE BranchID = @BranchID
AND CustomerID = @CustomerID
AND SaleTypeID = @SaleTypeID
AND PaymentGatewayID = @PaymentGatewayID
AND GatewayAccountID = @GatewayAccountID
AND GatewayCustomerID = @GatewayCustomerID
IF @CustomerPaymentGatewayID = 0
BEGIN
END
--ELSE IF @OldInstrumentID = '' AND @InstrumentID <> ''
ELSE IF @OldInstrumentID = @InstrumentID
BEGIN
UPDATE dbo.CustomerPaymentGateway
SET --InstrumentID = @InstrumentID,
IsArchived = 0,
ModifiedOn = @CreatedOn,
ModifiedBy = @CreatedBy
SELECT @CustomerPaymentGatewayID;
END
ELSE
BEGIN
SELECT @CustomerPaymentGatewayID;
END
END
{"MembershipForms":[{"FormID":29,"FormName":"purchase 3","JsonText":"{\"theme\":
{\"bgColor\":\"#ffffff\",\"textColor\":\"#000000\"},\"attributes\":
[{\"type\":\"textarea-readonly\",\"label\":\"Display
Text\",\"error\":false,\"value\":\"\",\"name\":\"textarea-readonly-
1611142300333\",\"rows\":10},{\"type\":\"textarea\",\"placeholder\":\"Enter your
long answer\",\"label\":\"Long
Answer\",\"error\":false,\"value\":\"\",\"name\":\"textarea-1611142301779\"},
{\"type\":\"text\",\"label\":\"Short Answer\",\"placeholder\":\"Enter your short
answer\",\"error\":false,\"name\":\"text-
1611142302803\",\"toggle\":false,\"required\":true}]}","IsMandatory":true,"IsSkippe
d":true,"Description":"purchase 3","FormTypeID":1,"CustomerFormID":"00000000-0000-
0000-0000-000000000000","FormStatusID":2},{"FormID":26,"FormName":"Manual
Form","JsonText":"{\"theme\":
{\"bgColor\":\"#ffffff\",\"textColor\":\"#000000\"},\"attributes\":
[{\"type\":\"textarea-readonly\",\"label\":\"Display
Text\",\"error\":false,\"value\":\"\",\"name\":\"textarea-readonly-
1611044966854\",\"rows\":10}]}","IsMandatory":false,"IsSkipped":true,"Description":
"Manual Form","FormTypeID":1,"CustomerFormID":"00000000-0000-0000-0000-
000000000000","FormStatusID":2},{"FormID":24,"FormName":"New Client
Form","JsonText":"{\"theme\":
{\"bgColor\":\"#ffffff\",\"textColor\":\"#000000\"},\"attributes\":
[{\"type\":\"text\",\"label\":\"What is your goal weight \",\"placeholder\":\"Enter
your short answer\",\"error\":false,\"name\":\"text-
1611043882298\",\"toggle\":false},{\"type\":\"textarea\",\"placeholder\":\"Enter
your long answer\",\"label\":\"Long
Answer\",\"error\":false,\"value\":\"\",\"name\":\"textarea-1611043925267\"},
{\"type\":\"radio\",\"label\":\"Radio\",\"description\":\"Radio
boxes\",\"error\":false,\"values\":[{\"label\":\"Option 1\",\"value\":\"option-
1\"},{\"label\":\"Option 2\",\"value\":\"option-2\"}],\"name\":\"radio-
1611043930658\"}]}","IsMandatory":true,"IsSkipped":true,"Description":"New Client
Form","FormTypeID":1,"CustomerFormID":"00000000-0000-0000-0000-
000000000000","FormStatusID":2}],"DirectDebit":{"AccountHolderName":"Asif
Rehman","AccountNumber":"55779911","BranchCode":"200000","CountryCode":"GB"},"OldMe
mbershipID":0,"CustomerID":264,"MembershipID":24,"StartDate":"February 2,
2021","MembershipPaymentPlanDetailList":
[{"MembershipPaymentID":48,"MembershipPaymentTypeID":1,"MembershipPaymentName":"Cre
dit","Price":35.75,"CollectionDate":"February 10, 2021","SkipProRata":false},
{"MembershipPaymentID":157,"MembershipPaymentTypeID":2,"MembershipPaymentName":"12-
MONTH REOCCUR REOCCUR REOCCUR REOCCUR
REOCCUR","Price":33.98,"CollectionDate":"February 10,
2021","SkipProRata":false}],"PaymentGatewayID":3,"SaleTypeID":3,"AccountDetail":nul
l}