Stripe Salesforce Integration

Stripe is the US technology company which is operating in over the 25 different countries which allows both private individuals and businesses to accept payments over the Internet. Stripe also focuses on providing the technical, fraud prevention and also the banking infrastructure required to operate on-line payment systems.

f:id:astreait:20181214195035p:plain

Astrea IT Services received the requirements from a client which involved a loyalty management program and the Loyalty Program provides its members with the multiple activities like answering the questions, voting, watching videos and many more. A member receives some loyalty points on successful completion of the activities and they can then also buy the products with their loyalty points.

For the successful Stripe Salesforce Integration, Astrea IT Services needed to include the Wallet feature to keep all record of the current balance and loyalty points consumed by the members at any time along with the details. The wallet transactions were of the two types that are- “Credit Purchased” and “Order Placed by Members”. So whenever a member spends using Stripe, a wallet transaction is been created with the record type “Credit Purchased” and when member order any of the product from portal directly, first the credit or wallet balance is checked and if there is any sufficient amount present, wallet transaction record is created with the type “Order Placed by Members” and thus it allows the member to order the product which they want for themselves.

f:id:astreait:20181214195027p:plainSo whenever any Member of the loyalty program wants to order any of the product from portal then first it is checked if there is adequate balance in the wallet and only then the transaction is allowed by the members. In other cases, a mail is also sent to the System Admin and an automatic email is also sent to the members having points or balance lower than a certain amount.