File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/code/Magento/PaypalGraphQl Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class SetPaymentMethodOnCart
2525{
2626 private const PATH_CODE = 'input/payment_method/code ' ;
2727
28- private const PATH_ADDITIONAL_DATA = 'input/payment_method/additional_data ' ;
28+ private const PATH_PAYMENT_METHOD_DATA = 'input/payment_method ' ;
2929
3030 private $ allowedPaymentMethodCodes = [];
3131
@@ -98,7 +98,7 @@ public function afterResolve(
9898 return $ resolvedValue ;
9999 }
100100
101- $ paypalAdditionalData = $ this ->arrayManager ->get (self ::PATH_ADDITIONAL_DATA , $ args ) ?? [];
101+ $ paypalAdditionalData = $ this ->arrayManager ->get (self ::PATH_PAYMENT_METHOD_DATA , $ args ) ?? [];
102102 $ payerId = $ paypalAdditionalData [$ paymentCode ]['payer_id ' ] ?? null ;
103103 $ token = $ paypalAdditionalData [$ paymentCode ]['token ' ] ?? null ;
104104 $ cart = $ resolvedValue ['cart ' ]['model ' ];
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ type PayflowLinkToken {
3131 paypal_url : String @doc (description :"PayPal URL used for requesting Payflow form" )
3232}
3333
34- input PaymentMethodAdditionalDataInput {
34+ input PaymentMethodInput {
3535 paypal_express : PaypalExpressInput @doc (description :"Required input for PayPal Express Checkout payments" )
3636 payflow_express : PayflowExpressInput @doc (description :"Required input for PayPal Payflow Express Checkout payments" )
3737 payflow_link : PayflowLinkAdditionalDataInput @doc (description :"Required input for PayPal Payflow Link payments" )
You can’t perform that action at this time.
0 commit comments