Open satya3291 opened 9 months ago
triggered setPaymentmethod on cart , screenshot below
Triggered SetSelectedpayment method
Simply follow checkout instructions
Cloud and node 16.20.0 "@adobe/aem-core-cif-react-components": "2.12.0", "braintree-web-drop-in": "^1.22.1",
utation ($cartId: String!, $paymentMethodCode: String!, $nonce: String!) { setPaymentMethodOnCart( input: { cart_id: $cartId payment_method: { code: $paymentMethodCode braintree: { payment_method_nonce: $nonce is_active_payment_token_enabler: false } } } ) { cart { selected_payment_method { code title } } } }
Expected Behaviour -- it should work and placeorder graphQL API should not give error
Actual Behaviour --- Placeorder API giving error -- "your payment could not be taken"
Reproduce Scenario (including but not limited to)
triggered setPaymentmethod on cart , screenshot below
Triggered SetSelectedpayment method
Steps to Reproduce
Simply follow checkout instructions
Platform and Version
Cloud and node 16.20.0 "@adobe/aem-core-cif-react-components": "2.12.0", "braintree-web-drop-in": "^1.22.1",
Sample Code that illustrates the problem
utation ($cartId: String!, $paymentMethodCode: String!, $nonce: String!) { setPaymentMethodOnCart( input: { cart_id: $cartId payment_method: { code: $paymentMethodCode braintree: { payment_method_nonce: $nonce is_active_payment_token_enabler: false } } } ) { cart { selected_payment_method { code title } } } }
Logs taken while reproducing problem