Skip to content

Express Docs v0.1.0


Express Docs / PayPalUserAction

Type Alias: PayPalUserAction

PayPalUserAction = "PAY_NOW" | "CONTINUE"

Defined in: src/types.ts:373

Controls the call-to-action on the PayPal review page.

Remarks

Maps to the commit query parameter of the PayPal JS SDK script URL: 'PAY_NOW'commit=true, 'CONTINUE'commit=false.

  • 'PAY_NOW' — the buyer completes the transaction on the PayPal review page (button reads "Pay Now").
  • 'CONTINUE' — the buyer returns to the merchant site to complete the transaction (button reads "Continue"), e.g. when the final amount may still change.

PayPal requires the Orders API (experience_context.user_action) and the JS SDK to be configured with the same experience — the value must match the "UserAction" setting of the CollanaPay ProviderAccount.

CollanaPay SDK Documentation