Stripe Payment URl is empty
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- DamanMokha
- Posts: 13
- Joined: 29 Mar 2023, 03:00
Stripe Payment URl is empty
Hi, I have set up the Stripe service by installing the package and configuring it from the admin panel. After adding the Stripe service to the basket and placing the order using the Order API, the Stripe href for redirection is empty. I have attached response.
Could you please guide me as to why it is like that?
Code: Select all
{
"meta": {
"total": 1,
"prefix": null,
"content-baseurl": "",
"csrf": {
"name": "_token",
"value": "dVK1RrMOcqQStBuYb6hdkMV4cJK4v0Lq7KHMUoTb"
}
},
"links": {
"self": "http://localhost:8000/jsonapi/order"
},
"data": {
"id": "9",
"type": "order",
"links": {
"self": {
"href": "http://localhost:8000/jsonapi/order?id=9",
"allow": [
"GET"
]
},
"process": {
"href": "",
"allow": [
"POST"
],
"meta": {
"paymenttoken": {
"code": "paymenttoken",
"type": "string",
"label": "Authentication token",
"public": false,
"default": "",
"required": true,
"value": null
},
"payment.cardno": {
"code": "payment.cardno",
"type": "container",
"label": "Credit card number",
"public": true,
"default": "",
"required": false,
"value": null
},
"payment.expiry": {
"code": "payment.expiry",
"type": "container",
"label": "Expiry",
"public": true,
"default": "",
"required": false,
"value": null
},
"payment.cvv": {
"code": "payment.cvv",
"type": "container",
"label": "Verification number",
"public": true,
"default": "",
"required": false,
"value": null
}
}
}
},
"attributes": {
"order.id": "9",
"order.channel": "jsonapi",
"order.invoiceno": "",
"order.statusdelivery": -1,
"order.statuspayment": -1,
"order.datedelivery": null,
"order.datepayment": null,
"order.relatedid": ""
},
"relationships": {}
},
"included": []
}
Re: Stripe Payment URl is empty
Are you using the JSON API exclusively to build a PWA or do you use the HTML frontend and enhancing it using the JSON API?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star