Proposal For Paypal & Stripe Integration

Proposal summary

This proposal describes the Paypal & Stripe Integration with Netsuite.

Requirement 

The Nuheara team is going to use the customer portal for ordering and payment. They would like to make payments by Stripe. STRIPE is a payment Gateway used to pay the amount through their site. Also, the payment needs to be captured and needs to create a customer deposit related to the corresponding SO after payment has been done.

Our Solution

Prerequisite

  • Need test stripe account details for development and testing purposes.
  • A custom transaction body field need to be created to store the Stripe reference ID
  • Customer center role needs to be confirmed by Nuhera to show the Pay button on SO

Description of task

The requirement can be achieved by adding one button named “Pay using Stripe” to the sales order which doesn’t have a related customer deposit on the Customer center role. Users can click on this button to do payment by stripe. On clicking this Button it will navigate to a new HTML page for entering the card details. Customers need to enter card details and click the Pay Now button. When clicking this button script will create a transaction with stripe and make payment. To set the response back from STRIPE, J&J will create a Custom Body Field “STRIPE PAYMENT REFERENCE “ in sales order for storing the Charge ID. So after the successful payment, the stripe charge id will be stored in the Sales Order and a new customer deposit will be created for this sales order.

Field mapping:

DATE  :  Current date

PAYMENT AMOUNT: Amount paid in stripe

EXCHANGE RATE: Will populate automatically 

ACCOUNT: Will set an automatically populated account.

Risk

  • We consider only one single payment and single customer deposit for the sales orders. If the customer deposit is already created for the sales order, then the Pay by stripe button will not appear in the sales order.
  • Pay button will be available only in Sales Order record on Customer center role

Requirement 

The Nuheara team is going to use the customer portal for ordering and payment. They would like to make payments by Paypal. Paypal is a payment Gateway used to pay the amount through their site. Also, the payment needs to be captured and needs to create a customer deposit related to the corresponding SO after payment has been done.

Our Solution

Prerequisite

  1. Need test PayPal account details for development and testing purposes.
  2. A custom transaction body field need to be created to store the Paypal reference ID
  3. Customer center role needs to be confirmed by Nuhera to show the Pay button on SO

Description of task

The requirement can be achieved by adding one button named Pay using Paypal to the sales order which doesn’t have a related customer deposit on Customer center role. Users can click on this button to make payments by Paypal. When the user clicks the button then the user is redirected to the suitelet page. Then the user can see the bill details and then click the payment button. On clicking the payment button the user will be redirected to the payment screen. By entering card details the user can pay the bill.

To set the response back from Paypal, J&J will create a Custom Body Field “PayPal payment reference“ in sales order for storing the PayPal details. So after the successful payment, the PayPal details will be stored in the Sales Order and a new customer deposit will be created for this sales order.

Field mapping:

DATE: Current date

PAYMENT AMOUNT: Amount paid in Paypal

EXCHANGE RATE: Will populate automatically 

ACCOUNT: Will set an automatically populated account.

Risk

  • We consider only one single payment and single customer deposit for the sales orders. If the customer deposit is already created for the sales order then the “Pay using PayPal” button will not appear in the sales order.
  • Pay button will be available only in Sales Order record on Customer center role

Leave a comment

Your email address will not be published. Required fields are marked *