-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
I'm using Angular v13, ngx-paypal v9, creating orders and authorizing on the server side with Firebase.
When entering customer info on the app, I get no field for phone number until an attempt is made to capture the card, then an error is thrown and the field suddenly appears:
I am also not getting any options to select shipping type when shipping options are provided in the server code per PayPal docs:
body: JSON.stringify({
intent: 'CAPTURE',
purchase_units: [
{
amount: {
currency_code: 'USD',
value: orderInfo.orderData.total,
},
shipping: {
options: [
{
id: 'DOMESTIC_SHIPPING',
label: 'Ship to Home Address',
type: 'SHIPPING',
selected: false,
amount: {
value: '5.00',
currency_code: 'USD'
}
},{
id: 'PICK_UP',
label: 'Pick up in Store',
type: 'PICKUP',
selected: true,
amount: {
value: '0.00',
currency_code: 'USD'
}
}
]
}
},
],
}),
An error is thrown indicating that PICKUP is selected by default. Not sure which configuration options I need to customize to get the fields I need showing, would greatly appreciate some help here.
Metadata
Metadata
Assignees
Labels
No labels



