adobe / adobe/aem-core-cif-components
Braintree Paypal not working
- Dominant language
- Java
- Stars
- 109
- Forks
- 78
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 4
Description
### 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
Contributor guide
Research direction
Start with the checkout flow and the setPaymentMethodOnCart GraphQL mutation described in the issue, then reproduce the failure using the listed React component and Node versions. Investigate the missing logs and the "your payment could not be taken" response; done means the PayPal payment method is accepted and placeOrder completes without an error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, node.js, react
- Domain
- api, frontend, payments
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100