react-paypal-js: [BUG]: We are using PayPal Hosted Fields from library. The order is not approved when we call submit function from hostedFields, we are getting response with orderId but it is not approved it's status is still Created.
Is there an existing issue for this?
- I have searched the existing issues.
π Describe the Bug
we have implemented according to this storybook component. https://paypal.github.io/react-paypal-js/?path=/docs/paypal-paypalhostedfields--default we are facing an issue request urgent response.
π Current Behavior
No response
π€ Expected Behavior
No response
π¬ Minimal Reproduction
No response
π Environment
| Software | Version(s) |
| ---------------- | ---------- |
| react-paypal-js | |
| Browser | |
| Operating System | |
Relevant log output
No response
Code of Conduct
- I agree to follow this projectβs Code of Conduct
β Anything else?
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 27
Closing this issue for now. To summarize a few things that came up:
<PayPalHostedFieldsProvider>
and<PayPalHostedField>
components to safely link to credit card related fields (instead of manually populating thepayment_source
@ankuronweb Oh yeah sorry I was trying with a random card. Its working for me too with that number. I am trying to fork the sandbox and do some more debugging with the responses that come back, because I did get the same βCOMPLETEDβ response for the order but for me inside of the purchase_units the payment was always stuck on PENDING and the transaction never showed on my sandbox merchant account.
I will mess around with the sandbox, im currently having some issues forking it but should be able to start testing soon.