Skip to content

PayPal Express -> PAY NOW #260

Description

User story

Currently, when using the PayPal Express button to complete an order, you are always redirected back to the shop to finalize the order.
I can see in Swag\PayPal\Checkout\ExpressCheckout\SalesChannel\ExpressCreateOrderRoute that the user action property is always set to ApplicationContext::USER_ACTION_CONTINUE. Do you consider support for the ApplicationContext::USER_ACTION_PAY_NOW? Could it be configurable? Is it feasible from a technical point of view?

As a reference, take a look at this article: https://developer.paypal.com/limited-release/commerce-platform/accept-payments/standard/customize/pay-now/
Here you can see PayPal orders API docs with the user action payload element: https://developer.paypal.com/docs/api/orders/v2/#orders_create!path=payment_source/paypal/experience_context/user_action&t=request

Acceptance criteria

You can choose user action for PayPal Express flow in the plugin configuration, either PAY_NOW or CONTINUE.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Story.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions