Stripe
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!
Stripe
Hello sir
I want to display stripe card detail fields on checkout page
I added stripe form on checkout page payment-body-standard.php by stripe js
its display card detail form , on submit i create a token and set in input field name "paymenttoken"
and create a stripe.php class under aimeos\ai-payments\lib\custom\src\MShop\Service\Provider\Payment
here in process already a condition for paymenttoken field, which i set in form
if( !isset( $params['paymenttoken'] ) ) {
return $this->getPaymentForm( $order, $params );
}
on submit form its create token and submit in form but its redirect on same checkout page with error message
"tok_1KPPrkFr9ULUDfrYs5iUue2Y
Unknown service attributes"
I want to display stripe card detail fields on checkout page
I added stripe form on checkout page payment-body-standard.php by stripe js
its display card detail form , on submit i create a token and set in input field name "paymenttoken"
and create a stripe.php class under aimeos\ai-payments\lib\custom\src\MShop\Service\Provider\Payment
here in process already a condition for paymenttoken field, which i set in form
if( !isset( $params['paymenttoken'] ) ) {
return $this->getPaymentForm( $order, $params );
}
on submit form its create token and submit in form but its redirect on same checkout page with error message
"tok_1KPPrkFr9ULUDfrYs5iUue2Y
Unknown service attributes"
Re: Stripe
Can you show your complete code?
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: Stripe
ok, attached payment-body-standard.php and stripe.php
Re: Stripe
Can you check here where the error occurs and post a stack trace?
https://github.com/aimeos/ai-client-htm ... #L341-L359
https://github.com/aimeos/ai-client-htm ... #L341-L359
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: Stripe
here generate error
Code: Select all
catch( \Aimeos\Controller\Frontend\Exception $e )
{
$error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) );
$view->standardErrorList = array_merge( $view->get( 'standardErrorList', [] ), $error );
}
Re: Stripe
Stack trace?
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