Payment gateway card form
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!
Payment gateway card form
How to show card form at the same page like this :
Re: Payment gateway card form
It's not allowed to store credit card data locally so you need a payment gateway that handles credit card payments.
Stripe does that for example and generates a similar payment form after the customer clicked on "Buy now" in the checkout summary page:
https://aimeos.org/docs/latest/manual/services/#stripe
Stripe does that for example and generates a similar payment form after the customer clicked on "Buy now" in the checkout summary page:
https://aimeos.org/docs/latest/manual/services/#stripe
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
Re: Payment gateway card form
Thank you for the reply !
Yes i use a payment gateway (checkout.com) but i want to show payment form at the same page
This is the current case (the integration works correctly) :
and when he clicked buy now the customer will be redirect to confirmation page.
Yes i use a payment gateway (checkout.com) but i want to show payment form at the same page
This is the current case (the integration works correctly) :
But I need to show my form on the same page ( when customer select the payment method the form should be shown ).
and when he clicked buy now the customer will be redirect to confirmation page.
- Attachments
-
- What i need :
- 2021-10-21 (2).png (23.14 KiB) Viewed 1201 times
-
- Current case :
- 2021-10-22 (2).png (17.18 KiB) Viewed 1201 times
Re: Payment gateway card form
You have to create a custom payment service provider implementation that adds the required form/JS code to the payment selection page and store the token you get from the payment gateway in the order payment service item of the basket as attribute. In the process() method of your payment service provider, you must perform the payment based on that token and set the payment status of the order accordingly.
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