# Checkout Toolkit integration error after card payment form is filled and click Pay now

**URL:** https://community.rapyd.net/t/checkout-toolkit-integration-error-after-card-payment-form-is-filled-and-click-pay-now/58266
**Category:** ⚙️ API
**Tags:** get-started
**Created:** [December 28, 2022, 2:35pm UTC](https://community.rapyd.net/t/checkout-toolkit-integration-error-after-card-payment-form-is-filled-and-click-pay-now/58266 "2022-12-28T14:35:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Nicholas\_Babu](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/nicholas_babu/32/2033_2.png) [@Nicholas\_Babu](https://community.rapyd.net/u/Nicholas_Babu)
#### Post date: [December 28, 2022, 2:35pm UTC](https://community.rapyd.net/t/checkout-toolkit-integration-error-after-card-payment-form-is-filled-and-click-pay-now/58266/1 "2022-12-28T14:35:00Z")

</div>

Hi all, I have an issue using Checkout Toolkit integration

From the error, it seems like all the card numbers are not included with the request,  
not sure why, or if that’s how it should be

```auto
XHRGEThttps://sandboxapi.rapyd.net/v1/hosted/payment_method_type_by_bin/checkout_f483d90a8160f425b5615d8f0ee8a60d/411111?selected_currency=USD
[HTTP/2 400 Bad Request 368ms]

1

{"status":{"error_code":"ERROR_CARD_ABSTRACTION_PMT_NOT_FOUND_BY_BIN","status":"ERROR","message":"","response_code":"ERROR_CARD_ABSTRACTION_PMT_NOT_FOUND_BY_BIN","operation_id":"e426bc92-e3f5-4b2c-8dc5-193e0b3e7955"}}

```

---

<div class="post-metadata">

### Author: ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)
#### Post date: [December 28, 2022, 6:25pm UTC](https://community.rapyd.net/t/checkout-toolkit-integration-error-after-card-payment-form-is-filled-and-click-pay-now/58266/2 "2022-12-28T18:25:27Z")

</div>

Thanks, what payment methods are you using?

It looks like it may be due to `bin_details`

 ![Screenshot 2022-12-28 at 1.10.56 PM](https://us1.discourse-cdn.com/flex016/uploads/rapyd/original/3X/3/2/32fcac6926b23a6883ed55ef8e7a713df3430857.png)

> **[Rapyd Documentation](https://docs.rapyd.net/build-with-rapyd/reference/payment#payment-method-data-object)**
>
> Liberate global commerce with all the tools you need for payments, payouts, and business everywhere.

I I’ll follow up with team members, feel free to [open a support ticket](https://dashboard.rapyd.net/settings/support-center/open) on this as described here [https://docs.rapyd.net/client-portal/docs/submitting-a-support-ticket](https://docs.rapyd.net/client-portal/docs/submitting-a-support-ticket)

---

<div class="post-metadata">

### Author: ![Nicholas\_Babu](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/nicholas_babu/32/2033_2.png) [@Nicholas\_Babu](https://community.rapyd.net/u/Nicholas_Babu)
#### Post date: [December 29, 2022, 5:29am UTC](https://community.rapyd.net/t/checkout-toolkit-integration-error-after-card-payment-form-is-filled-and-click-pay-now/58266/3 "2022-12-29T05:29:12Z")

</div>

Using Card payment method only. I’m creating a payment on my client side as [Checkout Toolkit Integration](https://docs.rapyd.net/build-with-rapyd/docs/checkout-toolkit)  
And passes a new checkout id from ‘/v1/checkout’,  
my example code in php to get the checkout id is

```auto
$body = [
			"amount" => 100,
			"complete_checkout_url" => "http://example.com/complete",
			"country" => "SG",
			"currency" => "SGD",
			"requested_currency" => "USD",
			//"merchant_reference_id" => "950ae8c6-76",
			"metadata" => [
				'order_id' => "S457312"
			],
			"payment_method_types_include" => [
				"sg_credit_mastercard_card",
				"sg_credit_visa_card",
				//"us_mastercard_card",
			]
		];

		$checkout_res = $this->make_request('post', '/v1/checkout', $body);
		

		if (!isset($checkout_res['data']['id'])) return;
		$checkout_id = $checkout_res['data']['id'];

```

After which I have the payment form successfully rendered, but can’t test payments with the test cards “the error”.
